diff options
author | Mark Brown <broonie@kernel.org> | 2023-03-17 17:43:18 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-03-17 17:43:18 +0000 |
commit | 864f0513a377184e12aa650089c9af71ba36c6e9 (patch) | |
tree | 9595a463e93ff09c14beeefc5fdf08fa86e098a6 /tools/perf/scripts/python | |
parent | 1e4929112507f145951f4c356161ab80ad9c1f0e (diff) | |
parent | 4d70dd0a25081bc4e6378d0da4a7c367389df707 (diff) |
spi: atmel-quadspi: Convert to platform remove
Merge series from Uwe Kleine-König <u.kleine-koenig@pengutronix.de>:
This series converts the atmel-quadspi driver to use the .remove_new()
callback that doesn't return an int but void. The motivation is to not
give driver authors a reason to (wrongly) believe that returning an
error code was sensible error handling. In fact the spi core only emits
a warning message in this case and otherwise continues as if the return
value was zero. This usually yields resource leaks that sometimes can
lead to exceptions later on.
The atmel-quadspi driver is one of these drivers that got error handling
wrong, this is fixed here and in the last patch the driver is converted
to .remove_new() with the eventual goal to change .remove() to return
void once all drivers are converted this way.
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions