diff options
author | Uwe Kleine-König <u.kleine-koenig@baylibre.com> | 2024-10-09 08:00:57 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-10-10 20:31:50 +0200 |
commit | 6a9262edff8ea44e9968b6b271c36d81c6a1f841 (patch) | |
tree | 869a4f418dfb5c3527ee2860d8824ee7d04e8fc2 /drivers/hid/surface-hid/surface_hid.c | |
parent | iio: imu: bmi323: remove redundant register definition (diff) | |
download | linux-6a9262edff8ea44e9968b6b271c36d81c6a1f841.tar.xz linux-6a9262edff8ea44e9968b6b271c36d81c6a1f841.zip |
iio: 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/iio/ 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://patch.msgid.link/20241009060056.502059-2-u.kleine-koenig@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/hid/surface-hid/surface_hid.c')
0 files changed, 0 insertions, 0 deletions