aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel/pmt/class.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2024-10-10 20:36:24 +0000
committerSebastian Reichel <[email protected]>2024-10-21 13:51:42 +0000
commit83bce34420eaf91506957703bf9a31d8581ed6cb (patch)
treec321a00498fae772405556049806ae278dd80db0 /drivers/platform/x86/intel/pmt/class.c
parentpower: supply: hwmon: move interface to private header (diff)
downloadkernel-83bce34420eaf91506957703bf9a31d8581ed6cb.tar.gz
kernel-83bce34420eaf91506957703bf9a31d8581ed6cb.zip
power: Switch back to struct platform_driver::remove()
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/power/ 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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions