drm/panel: use gpiod interface for enable GPIO
authorAlexandre Courbot <acourbot@nvidia.com>
Sat, 1 Mar 2014 05:00:58 +0000 (14:00 +0900)
committerThierry Reding <treding@nvidia.com>
Fri, 4 Apr 2014 07:06:38 +0000 (09:06 +0200)
commitcfdf0549f85f9a48e74bf8f6e36572ccdb75d274
tree08715b7b52ca0ccc18600c169da69da4c85ded6a
parentec7c565383ee7fd4847705b8aafefb8e589aea93
drm/panel: use gpiod interface for enable GPIO

Use the new GPIO descriptor interface to handle the panel's enable GPIO.
This considerably simplifies the code.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
[treding@nvidia.com: rework to improve readability]
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/panel/panel-simple.c