diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-05-16 20:25:17 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-06-03 20:24:14 +0300 |
commit | 6c100eb960e785fa327b449ba920d3e83936ae7a (patch) | |
tree | 19fd4e1985f224886cbf78db31b2858cbe7158b3 /drivers/iio/adc/ti-adc108s102.c | |
parent | 3c43b6e108d5fc94dd38638b561ac55a661c3adf (diff) | |
download | linux-6c100eb960e785fa327b449ba920d3e83936ae7a.tar.xz |
iio: adc: ti-adc081c: Use devm managed functions for all of probe()
Simplifies error handling and allows us to drop remove() entirely.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Alexandru Ardelean <aardelean@deviqon.com>
Link: https://lore.kernel.org/r/20210516172520.1398835-6-jic23@kernel.org
Diffstat (limited to 'drivers/iio/adc/ti-adc108s102.c')
0 files changed, 0 insertions, 0 deletions