spi: sprd: Convert to platform remove callback
authorMark Brown <broonie@kernel.org>
Mon, 20 Mar 2023 18:50:05 +0000 (18:50 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 20 Mar 2023 18:50:05 +0000 (18:50 +0000)
commit103c6a315bc7ae0442be683b8d725d51615d280b
treedaf3206c839ef0f45b7f8e501336922d72bb9942
parent0df9f6cf9576558fb1aba8527a66775e96e2bd2b
parent3b74dc8acd5c2e59d4a1988a87d64b08fba56d5f
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).