diff options
| author | Uwe Kleine-König <[email protected]> | 2024-10-28 08:26:11 +0000 |
|---|---|---|
| committer | Tzung-Bi Shih <[email protected]> | 2024-10-28 08:48:34 +0000 |
| commit | ea45f3f46734a47bdbcfb31f41748484219d2ea6 (patch) | |
| tree | e746fa7593a44f91add60b8895d7ffaf878f320f /drivers/platform/x86/intel/pmt/class.c | |
| parent | platform/chrome: cros_ec_typec: fix missing fwnode reference decrement (diff) | |
| download | kernel-ea45f3f46734a47bdbcfb31f41748484219d2ea6.tar.gz kernel-ea45f3f46734a47bdbcfb31f41748484219d2ea6.zip | |
platform/chrome: 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/platform/chrome 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.
Signed-off-by: Uwe Kleine-König <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Tzung-Bi Shih <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions
