summaryrefslogtreecommitdiff
path: root/drivers/iio/light/apds9960.c
diff options
context:
space:
mode:
authorDavid Heidelberg <david@ixit.cz>2020-02-11 20:12:00 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-03-08 17:28:35 +0000
commit3a271275fa747bafc931ddd872e51d0f3cb15828 (patch)
treecdd331062eda841652352e43a42cca79992a102f /drivers/iio/light/apds9960.c
parentc39a05e35263a2c8abea81df40b42aef33d1a759 (diff)
downloadlinux-next-3a271275fa747bafc931ddd872e51d0f3cb15828.tar.gz
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/light/apds9960.c')
0 files changed, 0 insertions, 0 deletions