aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-max77686.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/rtc-max77686.c')
-rw-r--r--drivers/rtc/rtc-max77686.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/rtc/rtc-max77686.c b/drivers/rtc/rtc-max77686.c
index 55396bb3de21..b177ba199a3d 100644
--- a/drivers/rtc/rtc-max77686.c
+++ b/drivers/rtc/rtc-max77686.c
@@ -457,8 +457,6 @@ static int max77686_rtc_probe(struct platform_device *pdev)
457 &max77686_rtc_ops, THIS_MODULE); 457 &max77686_rtc_ops, THIS_MODULE);
458 458
459 if (IS_ERR(info->rtc_dev)) { 459 if (IS_ERR(info->rtc_dev)) {
460 dev_info(&pdev->dev, "%s: fail\n", __func__);
461
462 ret = PTR_ERR(info->rtc_dev); 460 ret = PTR_ERR(info->rtc_dev);
463 dev_err(&pdev->dev, "Failed to register RTC device: %d\n", ret); 461 dev_err(&pdev->dev, "Failed to register RTC device: %d\n", ret);
464 if (ret == 0) 462 if (ret == 0)