diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-05-13 15:07:51 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-06-13 17:00:16 +0100 |
commit | c066ca1464f3b690d57c2f521d6cbb3e9546afd4 (patch) | |
tree | 8e042c832db0b3abe0e2dce8a7df83dae5ebeeef /drivers/iio/adc/stx104.c | |
parent | bd5dcdeb3fd0784e492efe1132c006663e6c74ba (diff) |
iio: adc: ad7124: Use devm_ managed calls for all of probe() + drop remove()
As not many steps were not already devm_ managed, use
devm_add_action_or_reset() to handle the rest.
This also uses the new devm_ad_sd_setup_buffer_and_trigger() function.
Reviewed-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Alexandru Ardelean <aardelean@deviqon.com>
Link: https://lore.kernel.org/r/20210513120752.90074-12-aardelean@deviqon.com
Diffstat (limited to 'drivers/iio/adc/stx104.c')
0 files changed, 0 insertions, 0 deletions