]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
iio: dac: ad5624r: drop driver remove callback
authorDavid Lechner <dlechner@baylibre.com>
Wed, 23 Oct 2024 23:54:12 +0000 (18:54 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Fri, 1 Nov 2024 14:54:46 +0000 (14:54 +0000)
commit4d930ffce95c0b9d582e0b24fe69a5e3b1db4ebd
tree2d1a559c633e2d345d35f90e1d2daa75af6d80c9
parenta88a6cf4f78d6e2e531f47878a94ed6176efa5c4
iio: dac: ad5624r: drop driver remove callback

Drop use of the driver remove callback in the ad5624r_spi driver.

By making use of a a devm_ helper, we can avoid the need for the remove
callback entirely.

Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20241023-iio-regulator-refactor-round-5-v1-8-d0bd396b3f50@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/dac/ad5624r_spi.c