drm/panel: simple: Remove unneeded gpiod NULL check
authorFabio Estevam <fabio.estevam@nxp.com>
Mon, 17 Jul 2017 00:05:39 +0000 (21:05 -0300)
committerThierry Reding <treding@nvidia.com>
Fri, 18 Aug 2017 15:10:45 +0000 (17:10 +0200)
commit756b918d0df3a0945fe8bcca434b58573cdddc29
treef262c8a96c6e38e912087d70ca8b43e678b84911
parentf3621a8eb59a913612c8e6e37d81f16b649f8b6c
drm/panel: simple: Remove unneeded gpiod NULL check

The gpiod API checks for NULL descriptors, so there is no need to
duplicate the check in the driver.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1500249939-8075-1-git-send-email-festevam@gmail.com
drivers/gpu/drm/panel/panel-simple.c