commit | 3a271275fa747bafc931ddd872e51d0f3cb15828 | [log] [tgz] |
---|---|---|
author | David Heidelberg <david@ixit.cz> | Tue Feb 11 20:12:00 2020 +0100 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sun Mar 08 17:28:35 2020 +0000 |
tree | cdd331062eda841652352e43a42cca79992a102f | |
parent | c39a05e35263a2c8abea81df40b42aef33d1a759 [diff] |
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>