Message ID | 20230530081648.2199419-1-u.kleine-koenig@pengutronix.de |
---|---|
Headers | show |
Series | spi: mt65xx: Convert to platform remove callback returning void | expand |
Il 30/05/23 10:16, Uwe Kleine-König ha scritto: > Returning an error code in a platform driver's remove function is wrong > most of the time and there is an effort to make the callback return > void. To prepare this rework the function not to exit early. > > There wasn't a real problem because if pm runtime resume failed the only > step missing was pm_runtime_disable() which isn't an issue. > > Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Cheers!