linux-stable/drivers/leds/simple
Uwe Kleine-König 6bdc6d4a37 leds: Switch back to struct platform_driver::remove()
After commit 0edb555a65 ("platform: Make platform_driver::remove()
return void") .remove() is (again) the right callback to implement for
platform drivers.

Convert all platform drivers below drivers/leds/ 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 files, make indention of the struct initializer
consistent in several files.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Link: https://lore.kernel.org/r/20241010203622.839625-5-u.kleine-koenig@baylibre.com
Signed-off-by: Lee Jones <lee@kernel.org>
2024-10-15 09:58:10 +01:00
..
Kconfig - Core Frameworks 2023-09-04 13:52:58 -07:00
Makefile leds: simatic-ipc-leds-gpio: Add Elkhart Lake version 2023-07-28 09:57:53 +01:00
simatic-ipc-leds-gpio-apollolake.c leds: Switch back to struct platform_driver::remove() 2024-10-15 09:58:10 +01:00
simatic-ipc-leds-gpio-core.c leds: simatic-ipc-leds: Add missing MODULE_DESCRIPTION() macros 2024-06-21 11:57:14 +01:00
simatic-ipc-leds-gpio-elkhartlake.c leds: Switch back to struct platform_driver::remove() 2024-10-15 09:58:10 +01:00
simatic-ipc-leds-gpio-f7188x.c leds: Switch back to struct platform_driver::remove() 2024-10-15 09:58:10 +01:00
simatic-ipc-leds-gpio.h leds: simatic-ipc-leds-gpio: Convert to platform remove callback returning void 2023-11-01 11:28:33 +00:00
simatic-ipc-leds.c leds: simatic-ipc-leds: Add missing MODULE_DESCRIPTION() macros 2024-06-21 11:57:14 +01:00