drm/bridge: ti-sn65dsi86: Improve probe errors with dev_err_probe()
authorDouglas Anderson <dianders@chromium.org>
Fri, 11 Jun 2021 17:17:46 +0000 (10:17 -0700)
committerDouglas Anderson <dianders@chromium.org>
Fri, 11 Jun 2021 19:31:52 +0000 (12:31 -0700)
commit4c1b3d94bf632c1420a5d4108199f55a5655831d
tree747a5c4e5aa947b2d6521c20160f9fb6fb5c71ad
parenta70e558c151043ce46a5e5999f4310e0b3551f57
drm/bridge: ti-sn65dsi86: Improve probe errors with dev_err_probe()

As I was testing to make sure that the DEFER path worked well with my
patch series, I got tired of seeing this scary message in my logs just
because the panel needed to defer:
  [drm:ti_sn_bridge_probe] *ERROR* could not find any panel node

Let's use dev_err_probe() which nicely quiets this error and also
simplifies the code a tiny bit. We'll also update other places in the
file which can use dev_err_probe().

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210611101711.v10.10.I24bba069e63b1eea84443eef0c8535fd032a6311@changeid
drivers/gpu/drm/bridge/ti-sn65dsi86.c