diff options
author | Mark Brown <broonie@kernel.org> | 2023-03-20 21:50:05 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-03-20 21:50:05 +0300 |
commit | 103c6a315bc7ae0442be683b8d725d51615d280b (patch) | |
tree | daf3206c839ef0f45b7f8e501336922d72bb9942 /drivers/spi/spi-nxp-fspi.c | |
parent | 0df9f6cf9576558fb1aba8527a66775e96e2bd2b (diff) | |
parent | 3b74dc8acd5c2e59d4a1988a87d64b08fba56d5f (diff) | |
download | linux-103c6a315bc7ae0442be683b8d725d51615d280b.tar.xz |
spi: sprd: Convert to platform remove callback
Merge series from Uwe Kleine-König <u.kleine-koenig@pengutronix.de>:
An early error return from a remove callback is usally wrong. In the
case of the spi-sprd driver it's not that critical because the skipped
steps are mainly undoing the things that a successful runtime-resume
would have done.
Still it's cleaner to not exit early and not return an (mostly ignored)
error value. The second patch converts to .remove_new (which is the
motivation for this series).
Diffstat (limited to 'drivers/spi/spi-nxp-fspi.c')
0 files changed, 0 insertions, 0 deletions