Lars-Peter Clausen 28f73ded19 iio: ad4130: Make sure clock provider gets removed
The ad4130 driver registers a clock provider, but never removes it. This
leaves a stale clock provider behind that references freed clocks when the
device is unbound.

Register a managed action to remove the clock provider when the device is
removed.

Fixes: 62094060cf3a ("iio: adc: ad4130: add AD4130 driver")
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Link: https://lore.kernel.org/r/20230414150702.518441-1-lars@metafoo.de
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2023-05-13 17:54:57 +01:00
..
2023-04-27 12:07:50 -07:00
2022-06-04 14:04:27 -07:00
2022-11-27 15:05:05 +01:00
2023-04-27 12:07:50 -07:00
2023-04-27 12:07:50 -07:00
2021-11-17 17:51:35 +00:00
2023-01-21 17:35:23 +00:00