On 1/26/21 6:58 PM, 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 <[email protected]>
Reviewed-by: Arnd Bergmann <[email protected]>
Acked-by: Alexandre Belloni <[email protected]>
Acked-by: Dmitry Torokhov <[email protected]>
Acked-by: Krzysztof Kozlowski <[email protected]> # for drivers/memory
Acked-by: Mark Brown <[email protected]>
Acked-by: Dmitry Torokhov <[email protected]>
Acked-by: Linus Walleij <[email protected]>
Signed-off-by: Uwe Kleine-König <[email protected]>

For drivers/memory/pl172.c:

Acked-by: Vladimir Zapolskiy <[email protected]>

--
Best wishes,
Vladimir

Reply via email to