drm/omapdrm: Use of_find_backlight helper
authorMeghana Madhyastha <meghana.madhyastha@gmail.com>
Wed, 24 Jan 2018 16:41:38 +0000 (16:41 +0000)
committerSean Paul <seanpaul@chromium.org>
Tue, 20 Feb 2018 16:07:22 +0000 (11:07 -0500)
commit2b91e3c43b4f3d3cd4d84a31cfbe6b165d89b70e
tree3c16758cb18feaa6091a05f36a58c382cd6c426b
parentc69f94570d7ab4c8cbc5ba14729cc73a7dbdbfec
drm/omapdrm: Use of_find_backlight helper

Replace of_find_backlight_by_node and of the code around it
with of_find_backlight helper to avoid repetition of code.

Reviewed-by: Noralf Trønnes <noralf@tronnes.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/eb914313f9d0e58d81572ccd3c718a573a891bd7.1516810726.git.meghana.madhyastha@gmail.com
drivers/gpu/drm/omapdrm/displays/panel-dpi.c