diff options
author | David Lechner <dlechner@baylibre.com> | 2024-06-22 01:11:56 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-06-25 23:04:51 +0300 |
commit | a4a9fc32f8156c7e1a9d6dddd20f19ca6acab452 (patch) | |
tree | bb69bae9bb11460e98555d68a40e8845ce27e747 /tools/perf/scripts/python/syscall-counts.py | |
parent | 2867ccf4a253fe8ac54f01907f896591335c52b4 (diff) | |
download | linux-a4a9fc32f8156c7e1a9d6dddd20f19ca6acab452.tar.xz |
iio: adc: ti-ads8688: drop ads8688_remove()
By using a few devm_ functions, we can simplify the driver and remove
the ads8688_remove() function.
spi_set_drvdata() is removed since there are no more callers of
spi_get_drvdata().
Also use dev_err_probe() to simplify error return.
Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20240621-iio-regulator-refactor-round-2-v1-9-49e50cd0b99a@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions