drm/bridge: lvds-codec: simplify error handling
authorAndrzej Hajda <a.hajda@samsung.com>
Mon, 13 Jul 2020 14:43:24 +0000 (16:43 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Jul 2020 07:03:44 +0000 (09:03 +0200)
commit76acb5ee76b1ae5870cac9c8125ca09e9106d5b2
tree791ffea409155d89c3fd8cf9cd2c9fd206366503
parenta60294d2b0bc015658ce66b134cc8070fa1151b0
drm/bridge: lvds-codec: simplify error handling

Using dev_err_probe code has following advantages:
- shorter code,
- recorded defer probe reason for debugging,
- uniform error code logging.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://lore.kernel.org/r/20200713144324.23654-5-a.hajda@samsung.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/bridge/lvds-codec.c