diff options
author | David Heidelberg <david@ixit.cz> | 2020-02-11 20:12:00 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-03-08 17:28:35 +0000 |
commit | 3a271275fa747bafc931ddd872e51d0f3cb15828 (patch) | |
tree | cdd331062eda841652352e43a42cca79992a102f /drivers/iio/trigger/stm32-timer-trigger.c | |
parent | c39a05e35263a2c8abea81df40b42aef33d1a759 (diff) | |
download | linux-3a271275fa747bafc931ddd872e51d0f3cb15828.tar.bz2 |
iio: light: al3320a implement devm_add_action_or_reset
Use devm_add_action_or_reset to automatically disable the device
and allow you to get rid of the remove function entirely.
Signed-off-by: David Heidelberg <david@ixit.cz>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/trigger/stm32-timer-trigger.c')
0 files changed, 0 insertions, 0 deletions