diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2009-06-17 19:26:12 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-18 16:03:43 -0400 |
commit | 0a817f7f5d95e8dde1b1ef57bd7c0a1fa7118268 (patch) | |
tree | b4f58d5c5d4ebb060f1b1768e14db3a1e934e611 /drivers/rtc/rtc-tx4939.c | |
parent | 3c2b9075cbdb541dbe486bde45925c9610de6f35 (diff) |
rtc-tx4939: drop IRQF_SHARED
IRQF_SHARED should not be used with IRQF_DISABLED. This RTC have a
dedicated irq line to SoC's internal interrupt controller so there is
no reason to use IRQF_SHARED.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-tx4939.c')
-rw-r--r-- | drivers/rtc/rtc-tx4939.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/rtc/rtc-tx4939.c b/drivers/rtc/rtc-tx4939.c index 4ee4857ff207..4a6ed1104fbb 100644 --- a/drivers/rtc/rtc-tx4939.c +++ b/drivers/rtc/rtc-tx4939.c | |||
@@ -261,10 +261,8 @@ static int __init tx4939_rtc_probe(struct platform_device *pdev) | |||
261 | 261 | ||
262 | tx4939_rtc_cmd(pdata->rtcreg, TX4939_RTCCTL_COMMAND_NOP); | 262 | tx4939_rtc_cmd(pdata->rtcreg, TX4939_RTCCTL_COMMAND_NOP); |
263 | if (devm_request_irq(&pdev->dev, irq, tx4939_rtc_interrupt, | 263 | if (devm_request_irq(&pdev->dev, irq, tx4939_rtc_interrupt, |
264 | IRQF_DISABLED | IRQF_SHARED, | 264 | IRQF_DISABLED, pdev->name, &pdev->dev) < 0) |
265 | pdev->name, &pdev->dev) < 0) { | ||
266 | return -EBUSY; | 265 | return -EBUSY; |
267 | } | ||
268 | rtc = rtc_device_register(pdev->name, &pdev->dev, | 266 | rtc = rtc_device_register(pdev->name, &pdev->dev, |
269 | &tx4939_rtc_ops, THIS_MODULE); | 267 | &tx4939_rtc_ops, THIS_MODULE); |
270 | if (IS_ERR(rtc)) | 268 | if (IS_ERR(rtc)) |