summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-wm8350.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-01-05 13:59:07 +0000
committerSamuel Ortiz <sameo@linux.intel.com>2010-03-07 22:16:56 +0100
commitf99344fc69c3df46786a39ea4283a4175ea40b3f (patch)
tree72a3b44540da44d3b42de9b310f758ab50468d6e /drivers/rtc/rtc-wm8350.c
parent0e820ab60118e06db62ef4e55b6dd96db807a34e (diff)
downloadop-kernel-dev-f99344fc69c3df46786a39ea4283a4175ea40b3f.zip
op-kernel-dev-f99344fc69c3df46786a39ea4283a4175ea40b3f.tar.gz
mfd: Add a data argument to the WM8350 IRQ free function
To better match genirq. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/rtc/rtc-wm8350.c')
-rw-r--r--drivers/rtc/rtc-wm8350.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/rtc/rtc-wm8350.c b/drivers/rtc/rtc-wm8350.c
index f1e44052..a5512f5 100644
--- a/drivers/rtc/rtc-wm8350.c
+++ b/drivers/rtc/rtc-wm8350.c
@@ -478,8 +478,8 @@ static int __devexit wm8350_rtc_remove(struct platform_device *pdev)
struct wm8350 *wm8350 = platform_get_drvdata(pdev);
struct wm8350_rtc *wm_rtc = &wm8350->rtc;
- wm8350_free_irq(wm8350, WM8350_IRQ_RTC_SEC);
- wm8350_free_irq(wm8350, WM8350_IRQ_RTC_ALM);
+ wm8350_free_irq(wm8350, WM8350_IRQ_RTC_SEC, wm8350);
+ wm8350_free_irq(wm8350, WM8350_IRQ_RTC_ALM, wm8350);
rtc_device_unregister(wm_rtc->rtc);
OpenPOWER on IntegriCloud