]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio: dac: ad5761: drop driver remove callback
authorDavid Lechner <dlechner@baylibre.com>
Wed, 23 Oct 2024 23:54:14 +0000 (18:54 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Fri, 1 Nov 2024 14:54:46 +0000 (14:54 +0000)
commit7af0ad4dfa694b8b1829d6d0317649128058b378
tree6f6a810e99786b88421e9de4ea230d0230988e91
parent89fd809ae027cb9e8fb598953374235c9b8f90d7
iio: dac: ad5761: drop driver remove callback

Drop use of the driver remove callback in the ad5761 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-10-d0bd396b3f50@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/dac/ad5761.c