summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRodrigo Alencar <rodrigo.alencar@analog.com>2026-02-16 20:10:50 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2026-02-24 00:00:57 +0300
commit5fdb9c833293c6c341f58dc8109a6fdd2556a034 (patch)
tree4a1fb3a3c1e1741927cfd6c557f77586eb0bee85 /include
parent5603a07af9f171b8402e839537698f0ecff4796b (diff)
downloadlinux-5fdb9c833293c6c341f58dc8109a6fdd2556a034.tar.xz
iio: amplifiers: ad8366: refactor device resource management
Adhere modern device resource management with the following: - Voltage regulator managed and enabled internally; - IIO device registration handled with devm_iio_device_register(); - removal of goto's from the probe function; - ad8366_remove() removed as it is not needed anymore; With the drop of goto's dev_err_probe() is used to report probe errors. Signed-off-by: Rodrigo Alencar <rodrigo.alencar@analog.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions