diff options
author | David Lechner <dlechner@baylibre.com> | 2024-06-21 17:11:56 -0500 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-06-25 21:04:51 +0100 |
commit | a4a9fc32f8156c7e1a9d6dddd20f19ca6acab452 (patch) | |
tree | bb69bae9bb11460e98555d68a40e8845ce27e747 /samples/bpf/cpustat_kern.c | |
parent | 2867ccf4a253fe8ac54f01907f896591335c52b4 (diff) |
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 'samples/bpf/cpustat_kern.c')
0 files changed, 0 insertions, 0 deletions