[PATCH] ata: libata: Make ata_platform_remove_one return void
Damien Le Moal
dlemoal at kernel.org
Sun May 14 14:56:24 PDT 2023
On 5/13/23 05:46, Uwe Kleine-König wrote:
> The function returned zero unconditionally, so the function returning an
> int is something between useless and irritating. With the goal to make
> platform drivers' remove function return void, it's helpful to convert
> the function accordingly. This converts several drivers to the new
> .remove_new callback that was introduced to smoothen the platform driver
> conversion.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
Applied to for-6.5. Thanks !
More information about the Linux-mediatek
mailing list