]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: dac ltc2632: drop driver remove function
authorDavid Lechner <dlechner@baylibre.com>
Wed, 20 Nov 2024 21:33:32 +0000 (15:33 -0600)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 7 Dec 2024 17:47:57 +0000 (17:47 +0000)
commit3ebb535f4f926e50646364d49ddf013d68d84e5f
tree2e9e176de6c3013595ee13bcdf37bd2414e64495
parentc15031ef6ef3879d87534df17b19de0a130726ec
iio: dac ltc2632: drop driver remove function

Remove driver remove callback for the ltc2632 driver.

By making use of devm_iio_device_register(), we no longer need a driver
remove callback. Also since this was the last user of spi_get_drvdata(),
we can drop the call to spi_set_drvdata().

Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20241120-iio-regulator-cleanup-round-6-v1-9-d5a5360f7ec3@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/dac/ltc2632.c