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

Roger Quadros rogerq at kernel.org
Mon Nov 11 06:27:30 PST 2024



On 07/11/2024 16:57, 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/memory 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.
> 
> A few white space changes are included to make indention consistent.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at baylibre.com>

for drivers/memory/omap-gpmc.c 

Reviewed-by: Roger Quadros <rogerq at kernel.org>



More information about the Linux-mediatek mailing list