clocksource/drivers/sun5i: Remove surplus dev_err() when using platform_get_irq()
authorYang Li <yang.lee@linux.alibaba.com>
Thu, 31 Aug 2023 04:14:14 +0000 (12:14 +0800)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 11 Oct 2023 10:06:41 +0000 (12:06 +0200)
commitfd73c011a123a66d88998f356c920d33d87524cf
treeb2cac460c21d83a5890ae15caab57fddc0688184
parent12590d4d0e331d3cb9e6b3494515cd61c8a6624e
clocksource/drivers/sun5i: Remove surplus dev_err() when using platform_get_irq()

There is no need to call the dev_err() function directly to print a
custom message when handling an error from either the platform_get_irq()
or platform_get_irq_byname() functions as both are going to display an
appropriate error message in case of a failure.

./drivers/clocksource/timer-sun5i.c:260:2-9: line 260 is redundant because platform_get_irq() already prints an error

Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20230831041414.66434-1-yang.lee@linux.alibaba.com
drivers/clocksource/timer-sun5i.c