Skip to content
Commit 3a271275 authored by David Heidelberg's avatar David Heidelberg Committed by Jonathan Cameron
Browse files

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: default avatarDavid Heidelberg <david@ixit.cz>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent c39a05e3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment