diff options
| author | Uwe Kleine-König <[email protected]> | 2023-11-10 16:29:30 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-11-23 19:12:30 +0000 |
| commit | 7635d71e6a4bef6751d85bf3014ed135a83fe352 (patch) | |
| tree | 61c60c247fb10bf3059b40fcd495f8c5cd8e4a91 /tools/perf/scripts/python/libxed.py | |
| parent | ad90d0358bd3b4554f243a425168fc7cebe7d04e (diff) | |
serial: sccnxp: Improve error message if regulator_disable() fails
Returning an error code from .remove() makes the driver core emit the
little helpful error message:
remove callback returned a non-zero value. This will be ignored.
and then remove the device anyhow.
So replace the error return (and with it the little helpful error
message) by a more useful error message.
Fixes: 31815c08fc90 ("serial: sccnxp: Replace pdata.init/exit with regulator API")
Signed-off-by: Uwe Kleine-König <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions