]> git.baikalelectronics.ru Git - kernel.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 07:06:38 +0000 (09:06 +0200)
commit3837e31372fedf1b35fea6595c9be81a363d5b86
tree08715b7b52ca0ccc18600c169da69da4c85ded6a
parent14d7fe3669477c14fe955431a6031be811390119
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