From: Javier Martinez Canillas Date: Mon, 13 Oct 2014 22:53:01 +0000 (-0700) Subject: rtc: max77686: remove unneeded info log X-Git-Tag: v4.14-rc1~6659^2~77 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ea33c31b621e296356ab74ea0237ba7761f2287e;p=platform%2Fkernel%2Flinux-rpi.git rtc: max77686: remove unneeded info log If devm_rtc_device_register() fails a dev_err() is already reported so there is no need to do an additional dev_info(). Signed-off-by: Javier Martinez Canillas Cc: Doug Anderson Cc: Krzysztof Kozlowski Cc: Alessandro Zummo Cc: Olof Johansson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/rtc/rtc-max77686.c b/drivers/rtc/rtc-max77686.c index 55396bb..b177ba1 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) &max77686_rtc_ops, THIS_MODULE); if (IS_ERR(info->rtc_dev)) { - dev_info(&pdev->dev, "%s: fail\n", __func__); - ret = PTR_ERR(info->rtc_dev); dev_err(&pdev->dev, "Failed to register RTC device: %d\n", ret); if (ret == 0)