diff options
author | Uwe Kleine-König <[email protected]> | 2023-03-07 07:56:03 +0100 |
---|---|---|
committer | Wim Van Sebroeck <[email protected]> | 2023-04-22 12:53:56 +0200 |
commit | e0e0ee02e616269451dd00ff56be0328d5625a92 (patch) | |
tree | 82fa8a2c9dea89bc7c30657770968a707a1ca7fa /tools/perf/scripts/python/stackcollapse.py | |
parent | 16d477a1dba9f214d1229d0a122d6d3a9636aa79 (diff) |
watchdog: s3c2410_wdt: Simplify using dev_err_probe()
Make use of dev_err_probe() also for error paths that don't have to
handle -EPROBE_DEFER. While the code handing -EPROBE_DEFER isn't used
for these error paths, it still simpler as it cares for pretty printing
the error code and usually needs one code line less as it combines
message emitting and error returning. This also unifies the format of
the error messages.
Signed-off-by: Uwe Kleine-König <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[groeck: Split long line to avoid checkpatch warning]
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions