summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-at91sam9.c
diff options
context:
space:
mode:
authorChen Jiahao <chenjiahao16@huawei.com>2023-08-02 12:36:50 +0300
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2023-08-10 10:35:28 +0300
commitdf9c16b5ccc8e4aab5e492b5f110167c75c74b0a (patch)
tree8cce73830d14ccf02b4d75aee34867a6c16d342a /drivers/rtc/rtc-at91sam9.c
parenta69c610e13e2b2de8a1ed2683f13e21b3200bd7a (diff)
downloadlinux-df9c16b5ccc8e4aab5e492b5f110167c75c74b0a.tar.xz
rtc: sunplus: Clean up redundant dev_err_probe()
Referring to platform_get_irq()'s definition, the return value has already been checked if ret < 0, and printed via dev_err_probe(). Calling dev_err_probe() one more time outside platform_get_irq() is obviously redundant. Removing dev_err_probe() outside platform_get_irq() to clean up above problem. Signed-off-by: Chen Jiahao <chenjiahao16@huawei.com> Link: https://lore.kernel.org/r/20230802093650.976352-1-chenjiahao16@huawei.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-at91sam9.c')
0 files changed, 0 insertions, 0 deletions