drm/bridge: lvds-codec: Use dev_err_probe for error handling
authorBiju Das <biju.das.jz@bp.renesas.com>
Tue, 20 Oct 2020 09:36:55 +0000 (10:36 +0100)
committerSam Ravnborg <sam@ravnborg.org>
Sun, 8 Nov 2020 14:45:55 +0000 (15:45 +0100)
commit4178bd5a3c57e107b3df5e17de6dc60cb3890647
tree7b83a9cac017fb720b6d57eefcefcec924237a04
parent281edb9ff18b9fd0ec677cc8a53e6f6395a5ccd7
drm/bridge: lvds-codec: Use dev_err_probe for error handling

dev_err_probe function simplifies error handling. So use the same in probe
function wherever possible.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20201020093655.3584-1-biju.das.jz@bp.renesas.com
drivers/gpu/drm/bridge/lvds-codec.c