drm/stm: ltdc: return appropriate error code during probe
authorFabien Dessenne <fabien.dessenne@st.com>
Wed, 24 Apr 2019 14:03:21 +0000 (16:03 +0200)
committerBenjamin Gaignard <benjamin.gaignard@linaro.org>
Mon, 6 May 2019 07:22:15 +0000 (09:22 +0200)
commit1f358bc6f272b9846dda4c1a9ab05aa1afa06954
tree8a5fbc967e6f593a58e3a43223a9b50f92bde920
parent9e759fc7dcd6d416f64567ae8b3b07184c60dedb
drm/stm: ltdc: return appropriate error code during probe

During probe, return the "clk_get" error value instead of -ENODEV.

Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com>
Acked-by: Philippe Cornu <philippe.cornu@st.com>
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1556114601-30936-3-git-send-email-fabien.dessenne@st.com
drivers/gpu/drm/stm/ltdc.c