regulator: Switch back to struct platform_driver::remove()
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>
Tue, 12 Nov 2024 08:35:21 +0000 (09:35 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 12 Nov 2024 13:08:35 +0000 (13:08 +0000)
commit1b55354745e276db38268f23865eb2c4eba5f59b
tree8b3b2df2aaf2cc0e83df65a510499abe0528d5c1
parentd1bc2d5cca434e7c854fd16ef021c16d74293b60
regulator: 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/regulator 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.

A few whitespace changes are done en passant to make indention
consistent.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Link: https://patch.msgid.link/ab85510f83fa901e44d5d563fe6e768054229bfe.1731398433.git.u.kleine-koenig@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/arizona-ldo1.c
drivers/regulator/bd9571mwv-regulator.c
drivers/regulator/db8500-prcmu.c
drivers/regulator/stm32-vrefbuf.c
drivers/regulator/uniphier-regulator.c
drivers/regulator/userspace-consumer.c
drivers/regulator/virtual.c
drivers/regulator/wm8350-regulator.c