linux/drivers/platform/x86/intel/int3472
Uwe Kleine-König 3ea5eb68b9
platform/x86: 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/platform/x86/ 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/20241017073802.53235-2-u.kleine-koenig@baylibre.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
2024-10-17 12:39:32 +03:00
..
clk_and_regulator.c platform/x86: int3472: Switch to devm_get_gpiod() 2023-10-06 13:34:58 +03:00
common.c platform/x86: int3472: make common part a separate module 2024-08-05 17:00:09 +02:00
common.h platform/x86: int3472: Stop using gpiod_toggle_active_low() 2023-10-06 13:34:56 +03:00
discrete.c platform/x86: Switch back to struct platform_driver::remove() 2024-10-17 12:39:32 +03:00
Kconfig platform/x86: int3472/discrete: add LEDS_CLASS dependency 2023-02-10 17:08:24 +01:00
led.c platform/x86: int3472: Switch to devm_get_gpiod() 2023-10-06 13:34:58 +03:00
Makefile platform/x86: int3472: make common part a separate module 2024-08-05 17:00:09 +02:00
tps68470_board_data.c platform/x86: int3472: Add GPIOs to Surface Go 3 Board data 2023-03-07 12:08:30 +01:00
tps68470.c platform/x86: int3472: Switch back to use struct i2c_driver's .probe() 2023-06-13 12:32:47 +02:00
tps68470.h platform/x86: int3472: Support multiple gpio lookups in board data 2022-09-24 19:12:32 +02:00