video: backlight: Add of_find_backlight helper in backlight.c
Add of_find_backlight, a helper function which is a generic version of tinydrm_of_find_backlight that can be used by other drivers to avoid repetition of code and simplify things. Acked-by: NDaniel Thompson <daniel.thompson@linaro.org> Reviewed-by: NNoralf Trønnes <noralf@tronnes.org> Reviewed-by: NSean Paul <seanpaul@chromium.org> Reviewed-by: NThierry Reding <treding@nvidia.com> Signed-off-by: NMeghana Madhyastha <meghana.madhyastha@gmail.com> Signed-off-by: NSean Paul <seanpaul@chromium.org> Link: https://patchwork.freedesktop.org/patch/msgid/116d160ba78be2e6dcbdcb6855622bce67da9472.1516810725.git.meghana.madhyastha@gmail.com
Showing
想要评论请 注册 或 登录