diff options
author | Alexandru Ardelean <aardelean@deviqon.com> | 2021-09-26 22:43:15 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-10-19 08:27:35 +0100 |
commit | 3cc2fd275d94db40a380cf9b2c664eedaa275e9c (patch) | |
tree | 7a4ecdb64c9958ff2af27653045cbccdeb5f5fea /tools/perf/scripts/python | |
parent | 8ee724ee4ebcb53f109c5d144f1b9eac966cc6f9 (diff) |
iio: adc: ad7291: convert probe to device-managed only
This is a simple conversion for to device-managed with using
devm_request_threaded_irq(), disabling the regulator via a
devm_add_action_or_reset() hook and finally using
devm_iio_device_register().
The i2c_set_clientdata() call is removed as it becomes redundant after this
change.
Signed-off-by: Alexandru Ardelean <aardelean@deviqon.com>
Link: https://lore.kernel.org/r/20210926194315.7742-1-aardelean@deviqon.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions