From: Axel Lin Date: Sun, 17 Apr 2011 02:02:58 +0000 (+0800) Subject: RTC: rtc-omap: Fix a leak of the IRQ during init failure X-Git-Tag: v2.6.39-rc5~43^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2dd93c4f47d506c586b827d75646a4257aafa43e;p=pandora-kernel.git 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: Axel Lin Cc: "George G. Davis" Cc: Alessandro Zummo Cc: rtc-linux@googlegroups.com Link: http://lkml.kernel.org/r/%3C1303005778.2889.2.camel%40phoenix%3E Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed