]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: bd70528: Avoid double error messaging when IRQ absent
authorKeyur Patel <iamkeyur96@gmail.com>
Sat, 21 Mar 2020 18:08:37 +0000 (14:08 -0400)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 23 Mar 2020 08:27:17 +0000 (09:27 +0100)
commit6302ad7f8759827e081bf6f20641b99ada4e1e37
treef490369639cfd129cd94c40687f5de05dd701f46
parentde9e837ab17da34aaa120d638e340f47e51dd0dc
rtc: bd70528: Avoid double error messaging when IRQ absent

Since the commit 682a742 ("driver core: platform: Add an error message
to platform_get_irq*()") platform_get_irq() started issuing an error message.
Thus, there is no need to have the same in the driver.

Signed-off-by: Keyur Patel <iamkeyur96@gmail.com>
Link: https://lore.kernel.org/r/20200321180838.12729-1-iamkeyur96@gmail.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-bd70528.c