commit | 870d26f6599d8f9768f83004a5c9a25564add3f0 | [log] [tgz] |
---|---|---|
author | Liam Beguin <lvb@xiphos.com> | Sun Aug 15 17:33:09 2021 -0400 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Tue Sep 14 12:00:31 2021 +0100 |
tree | a1abeb714054bcf1b2649d49e98338c1be28b2ff | |
parent | 9a7b7594de4fa7abd8f6a24e9e389e1e70c11685 [diff] |
iio: adc: ad7949: use devm managed functions Switch to devm_iio_device_register to finalize devm migration. This removes the use for iio_device_unregister() and since mutex_destroy() is not necessary here, remove it altogether. Signed-off-by: Liam Beguin <lvb@xiphos.com> Link: https://lore.kernel.org/r/20210815213309.2847711-6-liambeguin@gmail.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>