rtc: remove unnecessary error message after platform_get_irq
authorMarkus Elfring <elfring@users.sourceforge.net>
Sun, 5 Apr 2020 15:30:15 +0000 (17:30 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 15 Apr 2020 07:56:17 +0000 (09:56 +0200)
commit944ed452eb1b4241c8bd693b8b689fe8b888c445
tree5ef34fd060de1c3448a73d741019ab3bd928258e
parent8f3d9f354286745c751374f5f1fcafee6b3f3136
rtc: remove unnecessary error message after platform_get_irq

The function “platform_get_irq” can log an error already.
Thus omit redundant messages for the exception handling in the
calling functions.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Acked-by: Vladimir Zapolskiy <vz@mleia.com>
Link: https://lore.kernel.org/r/04116352-b464-041c-1939-96440133aa6f@web.de
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-fsl-ftm-alarm.c
drivers/rtc/rtc-lpc24xx.c
drivers/rtc/rtc-mt2712.c