Re: [PATCH] ptp: Switch back to struct platform_driver::remove()

From: Richard Cochran
Date: Sat Nov 30 2024 - 09:59:47 EST


On Sat, Nov 30, 2024 at 03:53:49PM +0100, Uwe Kleine-König wrote:
> After commit 0edb555a65d1 ("platform: Make platform_driver::remove()
> return void") .remove() is (again) the right callback to implement for
> platform drivers.
>
> Convert all platform drivers below drivers/ptp to use .remove(), with
> the eventual goal to drop struct platform_driver::remove_new(). As
> .remove() and .remove_new() have the same prototypes, conversion is done
> by just changing the structure member name in the driver initializer.
>
> While touching these drivers, make the alignment of the touched
> initializers consistent.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxx>

Acked-by: Richard Cochran <richardcochran@xxxxxxxxx>