drm/mediatek: mtk_dpi: Simplify with dev_err_probe()
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Wed, 26 Jul 2023 08:22:41 +0000 (10:22 +0200)
committerChun-Kuang Hu <chunkuang.hu@kernel.org>
Wed, 9 Aug 2023 22:56:46 +0000 (22:56 +0000)
commitbe471406e343346c63d57d6e7edc6fb85c114449
tree330de074dbfb998a169fe5745640811fb12a438d
parent47d4bb6bbcdb503b20df5dbcbf5a3bb94247875b
drm/mediatek: mtk_dpi: Simplify with dev_err_probe()

Use dev_err_probe() across the entire probe function of this driver
to shrink the size.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Fei Shao <fshao@chromium.org>
Reviewed-by: CK Hu <ck.hu@mediatek.com>
Link: https://patchwork.kernel.org/project/dri-devel/patch/20230726082245.550929-3-angelogioacchino.delregno@collabora.com/
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
drivers/gpu/drm/mediatek/mtk_dpi.c