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

Drop use of the driver remove callbacks in the ad5446 driver.

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

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