]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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 06:40:29 +0000 (08:40 +0200)
commit213c459e6f1de75443174afa6866605d476688ef
tree0e391fd0f9c5b9bc12d834a40921963ecbbd7310
parent38dbfb59d1175ef458d006556061adeaa8751b72
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