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

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