Skip to content
Commit e389240a authored by Jean-Jacques Hiblot's avatar Jean-Jacques Hiblot Committed by Pavel
Browse files

leds: Add managed API to get a LED from a device driver



If the LED is acquired by a consumer device with devm_led_get(), it is
automatically released when the device is detached.

Signed-off-by: default avatarJean-Jacques Hiblot <jjhiblot@ti.com>
Acked-by: default avatarPavel Machek <pavel@ucw.cz>
Signed-off-by: default avatarPavel Machek <pavel@ucw.cz>
parent 699a8c7c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment