linux-stable/drivers/gpu/drm/sprd
Deepak R Varma 2306f5d042 drm/sprd: remove redundant error logging
A call to platform_get_irq() already prints an error on failure within
its own implementation. So printing another error based on its return
value in the caller is redundant and should be removed. The clean up
also makes if condition block braces unnecessary. Remove that as well.

Issue identified using platform_get_irq.cocci coccicheck script.

Signed-off-by: Deepak R Varma <drv@mailo.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/Y5XhPJ39ipMCcctq@qemulion
2022-12-20 09:26:18 +01:00
..
Kconfig drm/gem: rename GEM CMA helpers to GEM DMA helpers 2022-08-03 18:31:49 +02:00
Makefile drm/sprd: add Unisoc's drm mipi dsi&dphy driver 2021-12-10 12:38:10 +01:00
megacores_pll.c drm/sprd: add Unisoc's drm mipi dsi&dphy driver 2021-12-10 12:38:10 +01:00
sprd_dpu.c drm/sprd: remove redundant error logging 2022-12-20 09:26:18 +01:00
sprd_dpu.h
sprd_drm.c drm/gem: rename GEM CMA helpers to GEM DMA helpers 2022-08-03 18:31:49 +02:00
sprd_drm.h drm/sprd: add Unisoc's drm mipi dsi&dphy driver 2021-12-10 12:38:10 +01:00
sprd_dsi.c drm/sprd: check the platform_get_resource() return value 2022-02-14 21:53:17 +08:00
sprd_dsi.h drm/sprd: add Unisoc's drm mipi dsi&dphy driver 2021-12-10 12:38:10 +01:00