[PATCH] ata: libata: Make ata_platform_remove_one return void

Sergey Shtylyov s.shtylyov at omp.ru
Sun May 14 13:06:47 PDT 2023


Hello!

On 5/12/23 11:46 PM, 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>

Reviewed-by: Sergey Shtylyov <s.shtylyov at omp.ru>

[...]

MBR, Sergey



More information about the linux-arm-kernel mailing list