diff options
| author | Alexandru Ardelean <aardelean@deviqon.com> | 2021-09-03 10:37:07 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-09-14 12:00:34 +0100 |
| commit | 9cec9be7af21a8f70f12d94e3b9ab85c08f96d36 (patch) | |
| tree | 94c63cf4356a7eba65c58f9122e4d646ff2ef62c /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | iio: adc: at91-sama5d2_adc: update copyright and authors information (diff) | |
| download | linux-9cec9be7af21a8f70f12d94e3b9ab85c08f96d36.tar.gz linux-9cec9be7af21a8f70f12d94e3b9ab85c08f96d36.zip | |
iio: adc: ti-ads8344: convert probe to device-managed
This change converts the driver to register via devm_iio_device_register().
The regulator disable is moved on a devm_add_action_or_reset() hook.
And the spi_set_drvdata() isn't required anymore.
And finally, the ads8344_remove() can be removed as well.
Signed-off-by: Alexandru Ardelean <aardelean@deviqon.com>
Link: https://lore.kernel.org/r/20210903073707.46892-1-aardelean@deviqon.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
