[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z0soVfzwOT2IHunn@hoboy.vegasvil.org>
Date: Sat, 30 Nov 2024 06:59:33 -0800
From: Richard Cochran <richardcochran@...il.com>
To: Uwe Kleine-König <u.kleine-koenig@...libre.com>
Cc: Yangbo Lu <yangbo.lu@....com>, David Woodhouse <dwmw2@...radead.org>,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ptp: Switch back to struct platform_driver::remove()
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@...libre.com>
Acked-by: Richard Cochran <richardcochran@...il.com>
Powered by blists - more mailing lists