drm/panel: simple: Use devm_gpiod_get_optional()
authorAlexandre Courbot <acourbot@nvidia.com>
Fri, 25 Jul 2014 14:47:25 +0000 (23:47 +0900)
committerThierry Reding <treding@nvidia.com>
Thu, 7 Aug 2014 07:35:27 +0000 (09:35 +0200)
commit9746c61960b63d2cea41333bca00c60f032052bb
tree713eda3d17b320396b9b6eef9a426b09c972569b
parent77df01dcd3040a7d664d85d085d4a21533824bc1
drm/panel: simple: Use devm_gpiod_get_optional()

Use the new devm_gpiod_get_optional() to simplify the probe code.

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