diff options
author | Uwe Kleine-König <[email protected]> | 2023-10-09 10:38:37 +0200 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2023-10-10 15:34:52 +0200 |
commit | 35df4b75bd57e0699d0a1ff696880dcbd7e565f2 (patch) | |
tree | 9ac4d007d2851b1b2d756ad12d4b77b63b1c1f29 /scripts/generate_rust_analyzer.py | |
parent | b1191940909a482d4d82f5b2e449e04829c0d739 (diff) |
pinctrl: stmfx: Improve error message in .remove()'s error path
The driver core has no handling for errors returned by the .remove()
callback. The only action on error is a dev_warn() with generic error
message that the returned value is returned.
Replace it by a more specific and useful message. Then returning zero is
the right thing to do, the only effect is to suppress the core's
warning.
This prepares the driver for the conversion to .remove_new().
Signed-off-by: Uwe Kleine-König <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions