diff options
Diffstat (limited to 'drivers/rtc')
-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)) |