diff options
author | Uwe Kleine-König <[email protected]> | 2023-12-06 22:48:18 +0100 |
---|---|---|
committer | Thierry Reding <[email protected]> | 2023-12-20 16:25:53 +0100 |
commit | b41ccc3bc9da96678c1db31b9ed021b8388657f6 (patch) | |
tree | 2a868e5ea0808e78c36116875ae8973d1fa5def6 /scripts/gdb/linux/utils.py | |
parent | d9eb24c6f499bf8f6625c5fea05d7511a2fecf52 (diff) |
pwm: meson: Simplify using dev_err_probe()
Using dev_err_probe() emitting an error message mentioning a return
value and returning that value can be done in a single statement. Make
use of that to simplify the probe part of the driver. This has the
additional advantage to emit the symbolic name for the error instead of
the integer error value.
Signed-off-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions