Skip to content
Commit 2dd93c4f authored by Axel Lin's avatar Axel Lin Committed by Thomas Gleixner
Browse files

RTC: rtc-omap: Fix a leak of the IRQ during init failure



In omap_rtc_probe error path, free_irq() was using NULL rather than the
driver data as the data pointer so free_irq() wouldn't have matched.

Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Cc: "George G. Davis" <gdavis@mvista.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: rtc-linux@googlegroups.com
Link: http://lkml.kernel.org/r/%3C1303005778.2889.2.camel%40phoenix%3E


Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 1791f881
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment