OSDN Git Service

drm/mediatek: mtk_dsi: Remove unnecessary print function dev_err()
authorYang Li <yang.lee@linux.alibaba.com>
Thu, 24 Feb 2022 01:23:18 +0000 (09:23 +0800)
committerChun-Kuang Hu <chunkuang.hu@kernel.org>
Wed, 4 May 2022 21:36:49 +0000 (05:36 +0800)
commitb8b8eeda63d60d434fcb0351ed45daf9f2d15afd
tree82a3bf5ac14980c391f94a9d1cf178154a581afd
parentba99d08da6adec0fb277e7ecbb125be6dfd1f2ea
drm/mediatek: mtk_dsi: Remove unnecessary print function dev_err()

The print function dev_err() is redundant because platform_get_irq()
already prints an error.

Eliminate the follow coccicheck warning:
./drivers/gpu/drm/mediatek/mtk_dsi.c:1092:2-9: line 1092 is redundant
because platform_get_irq() already prints an error

Link: https://patchwork.kernel.org/project/linux-mediatek/patch/20220224012318.84935-1-yang.lee@linux.alibaba.com/
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
drivers/gpu/drm/mediatek/mtk_dsi.c