1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/platform/x86/intel/telemetry
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
..
core.c platform/x86: intel_telemetry: Fix kernel doc descriptions 2023-11-21 10:09:04 +02:00
debugfs.c platform/x86: intel_telemetry: Switch to new Intel CPU model defines 2024-06-03 09:48:58 +03:00
Kconfig platform/x86: intel_telemetry: Move to intel sub-directory 2021-08-20 20:08:09 +02:00
Makefile platform/x86: intel_telemetry: Move to intel sub-directory 2021-08-20 20:08:09 +02:00
pltdrv.c platform/x86: Switch back to struct platform_driver::remove() 2024-10-17 12:39:32 +03:00