diff options
| author | Ruan Jinjie <[email protected]> | 2023-08-03 08:07:13 +0000 |
|---|---|---|
| committer | Alexandre Belloni <[email protected]> | 2023-08-16 23:17:34 +0000 |
| commit | dac7837848485bf1d0bd3aa56923f8bf5075682f (patch) | |
| tree | ca743da317a05b72b6ad2269bc70c7cc68e3e3b8 /tools/perf/scripts/python/netdev-times.py | |
| parent | rtc: omap: Do not check for 0 return after calling platform_get_irq() (diff) | |
| download | kernel-dac7837848485bf1d0bd3aa56923f8bf5075682f.tar.gz kernel-dac7837848485bf1d0bd3aa56923f8bf5075682f.zip | |
rtc: tps65910: Remove redundant dev_warn() and do not check for 0 return after calling platform_get_irq()
It is not possible for platform_get_irq() to return 0. Use the
return value from platform_get_irq().
And there is no need to call the dev_warn() function directly to print
a custom message when handling an error from platform_get_irq()
function as it is going to display an appropriate error message
in case of a failure.
Signed-off-by: Ruan Jinjie <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
