diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-05-16 20:25:18 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-06-03 20:24:14 +0300 |
commit | 55364f73a600c92ee012b2dede8d130a26c58a4a (patch) | |
tree | 259b0746f31348be6ed84a1e87aaf058d19d5973 /drivers/iio/adc/ti-adc108s102.c | |
parent | 6c100eb960e785fa327b449ba920d3e83936ae7a (diff) | |
download | linux-55364f73a600c92ee012b2dede8d130a26c58a4a.tar.xz |
iio: adc: ti-adc0832: Use devm managed functions for all of probe()
Simplifies error handling, plus allows us to drop the remove()
function entirely.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Akinobu Mita <akinobu.mita@gmail.com>
Reviewed-by: Alexandru Ardelean <aardelean@deviqon.com>
Link: https://lore.kernel.org/r/20210516172520.1398835-7-jic23@kernel.org
Diffstat (limited to 'drivers/iio/adc/ti-adc108s102.c')
0 files changed, 0 insertions, 0 deletions