summaryrefslogtreecommitdiffstats
path: root/drivers/iio/accel/st_accel_i2c.c
diff options
context:
space:
mode:
authorLiam Beguin <lvb@xiphos.com>2021-08-15 17:33:09 -0400
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-09-14 12:00:31 +0100
commit870d26f6599d8f9768f83004a5c9a25564add3f0 (patch)
treea1abeb714054bcf1b2649d49e98338c1be28b2ff /drivers/iio/accel/st_accel_i2c.c
parent9a7b7594de4fa7abd8f6a24e9e389e1e70c11685 (diff)
downloadlinux-870d26f6599d8f9768f83004a5c9a25564add3f0.tar.bz2
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>
Diffstat (limited to 'drivers/iio/accel/st_accel_i2c.c')
0 files changed, 0 insertions, 0 deletions