summaryrefslogtreecommitdiffstats
path: root/drivers/hv
diff options
context:
space:
mode:
authorAkinobu Mita <akinobu.mita@gmail.com>2017-07-21 00:24:25 +0900
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2017-08-20 15:41:16 +0100
commit4de43d250672ae9f34ed4d9279235807ca4d66d3 (patch)
treeba0ae32173fc3bf96cb5b3cdcd08d88fe1c90136 /drivers/hv
parent4128e8de26a354a3b595e537bfbf32c290b0b7f0 (diff)
downloadop-kernel-dev-4de43d250672ae9f34ed4d9279235807ca4d66d3.zip
op-kernel-dev-4de43d250672ae9f34ed4d9279235807ca4d66d3.tar.gz
iio: adc: ti-ads1015: use devm_iio_triggered_buffer_setup
Use devm_iio_triggered_buffer_setup to simplify the error path in the probe() and remove() function. This changes the remove order, but the end result of remove function actually does the reverse of probe. Cc: Daniel Baluta <daniel.baluta@gmail.com> Cc: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/hv')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud