drm/panel: otm8009a: Use new backlight API
authorPhilippe CORNU <philippe.cornu@st.com>
Mon, 23 Apr 2018 14:10:53 +0000 (16:10 +0200)
committerThierry Reding <treding@nvidia.com>
Fri, 18 May 2018 09:22:06 +0000 (11:22 +0200)
commit12a6cbd4f3f10b01b8a190de3766e70492df316b
tree3eee152bb1986dc6caecb476658e32d2f8f0cb01
parent6982b943123d5867997a6d0f8b5976ac3ddb2fa6
drm/panel: otm8009a: Use new backlight API

The backlight API provides new functions to enable and disable the
backlight and which hide the intricacies of achieving the correct
result.

Signed-off-by: Philippe Cornu <philippe.cornu@st.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180423141054.13128-5-philippe.cornu@st.com
drivers/gpu/drm/panel/panel-orisetech-otm8009a.c