1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/platform/x86/intel/int1092
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
..
intel_sar.c platform/x86: Switch back to struct platform_driver::remove() 2024-10-17 12:39:32 +03:00
intel_sar.h platform/x86: BIOS SAR driver for Intel M.2 Modem 2021-08-20 12:09:41 +02:00
Kconfig platform/x86: BIOS SAR driver for Intel M.2 Modem 2021-08-20 12:09:41 +02:00
Makefile platform/x86: BIOS SAR driver for Intel M.2 Modem 2021-08-20 12:09:41 +02:00