On Tue, Jan 26, 2021 at 05:58:34PM +0100, Uwe Kleine-König wrote:
> All amba drivers return 0 in their remove callback. Together with the
> driver core ignoring the return value anyhow, it doesn't make sense to
> return a value here.
> 
> Change the remove prototype to return void, which makes it explicit that
> returning an error value doesn't work as expected. This simplifies changing
> the core remove callback to return void, too.
> 
> Reviewed-by: Ulf Hansson <ulf.hans...@linaro.org>
> Reviewed-by: Arnd Bergmann <a...@arndb.de>
> Acked-by: Alexandre Belloni <alexandre.bell...@bootlin.com>
> Acked-by: Dmitry Torokhov <dmitry.torok...@gmail.com>
> Acked-by: Krzysztof Kozlowski <k...@kernel.org> # for drivers/memory
> Acked-by: Mark Brown <broo...@kernel.org>
> Acked-by: Dmitry Torokhov <dmitry.torok...@gmail.com>
> Acked-by: Linus Walleij <linus.wall...@linaro.org>
> Signed-off-by: Uwe Kleine-König <u.kleine-koe...@pengutronix.de>

Acked-by: Wolfram Sang <w...@kernel.org> # for I2C

Attachment: signature.asc
Description: PGP signature

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to