diff options
author | Lars-Peter Clausen <[email protected]> | 2023-04-14 08:07:02 -0700 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2023-05-13 17:54:57 +0100 |
commit | 28f73ded19d403697f87473c9b85a27eb8ed9cf2 (patch) | |
tree | 0bd99469ef19000a5e62e4238a39bda18415a41a /lib/mpi/mpiutil.c | |
parent | 265c82ea8b172129cb6d4eff41af856c3aff6168 (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Cc: <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions