drm/panel: simple: Skip error message on deferred probe
authorFabio Estevam <fabio.estevam@nxp.com>
Fri, 30 Jun 2017 21:14:46 +0000 (18:14 -0300)
committerThierry Reding <treding@nvidia.com>
Fri, 18 Aug 2017 15:10:43 +0000 (17:10 +0200)
commitb8e93807911a6fa3e8d8a4460d6129b0a85e9c70
treeff136e3bfd616fd6429b597c8227ea4df2b55b8f
parent2a05177dac9de66eda3927c370a91fd92ad9e707
drm/panel: simple: Skip error message on deferred probe

When enable_gpio is provided via an I2C or SPI expander, it may not be
available when panel-simple probes leading to the following error:

panel-simple panel: failed to request GPIO: -517

As this error message is not very useful to the end user, skip printing
it in the case of deferred probe.

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