diff options
author | Yang Li <[email protected]> | 2023-08-31 12:14:14 +0800 |
---|---|---|
committer | Daniel Lezcano <[email protected]> | 2023-10-11 12:06:41 +0200 |
commit | fd73c011a123a66d88998f356c920d33d87524cf (patch) | |
tree | b2cac460c21d83a5890ae15caab57fddc0688184 /scripts/generate_rust_analyzer.py | |
parent | 12590d4d0e331d3cb9e6b3494515cd61c8a6624e (diff) |
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 <[email protected]>
Acked-by: Jernej Skrabec <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions