diff options
author | Beniamin Bia <beniamin.bia@analog.com> | 2020-03-11 10:43:28 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-03-21 10:28:08 +0000 |
commit | 4bb2b8f94ace32c1e0d94a7dc9f881c44c3a71b8 (patch) | |
tree | 5d88e1cfb21eaff7d49847f54d2a6b2c6b2f58ad /Documentation/sphinx-static | |
parent | 0267a3166644037f0de66b496165a5801a99a5ae (diff) | |
download | linux-4bb2b8f94ace32c1e0d94a7dc9f881c44c3a71b8.tar.bz2 |
iio: adc: ad7476: implement devm_add_action_or_reset
Use devm_add_action_or_reset to automatically disable the device
when it is removed or an error occurs during probe routine.
Signed-off-by: Beniamin Bia <beniamin.bia@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'Documentation/sphinx-static')
0 files changed, 0 insertions, 0 deletions