]> git.baikalelectronics.ru Git - kernel.git/commit
video: backlight: Add devres versions of of_find_backlight
authorMeghana Madhyastha <meghana.madhyastha@gmail.com>
Wed, 24 Jan 2018 16:37:23 +0000 (16:37 +0000)
committerSean Paul <seanpaul@chromium.org>
Mon, 29 Jan 2018 15:34:53 +0000 (10:34 -0500)
commite54bd13f52ed9eb2b0ce5ad557e1e35ccc89980b
tree8288bb24e81e40104fa471aa51e4ea59d4267827
parentfa86e6707359ef5f4bea278ca147feafc6ee6fe2
video: backlight: Add devres versions of of_find_backlight

Add devm_of_find_backlight and the corresponding release
function because some drivers use devres versions of functions
for acquiring device resources.

Acked-by: Daniel Thompson <daniel.thompson@linaro.org>
Reviewed-by: Noralf Trønnes <noralf@tronnes.org>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Meghana Madhyastha <meghana.madhyastha@gmail.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/021f8fecfa3f374dc5dcb70fb07a6f6b019bea7b.1516810725.git.meghana.madhyastha@gmail.com
drivers/video/backlight/backlight.c
include/linux/backlight.h