Searched hist:"2662 e81745fc00cafcbbb532018013607cae84e0" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/iio/dac/ |
H A D | max517.c | diff 2662e81745fc00cafcbbb532018013607cae84e0 Sun Mar 14 12:57:09 CDT 2021 Mugilraj Dhavachelvan <dmugil2000@gmail.com> iio:dac:max517.c: Use devm_iio_device_register()
Use devm_iio_device_register() to avoid remove function and drop explicit call to iio_device_unregister().
Signed-off-by: Mugilraj Dhavachelvan <dmugil2000@gmail.com> Reviewed-by: Lars-Peter Clausen <lars@metafoo.de> Link: https://lore.kernel.org/r/20210314175709.34301-1-dmugil2000@gmail.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
|