summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorCK Hu <ck.hu@mediatek.com>2020-08-28 11:21:13 +0300
committerChun-Kuang Hu <chunkuang.hu@kernel.org>2020-12-29 02:11:17 +0300
commit993fd584942a75edda5e9cdec24c590c7a766b2d (patch)
tree5b2a0936e5c015ad34d9f29b08f7273aab75ee69 /drivers
parent3c87daefc5c3637bed36f1f29dc9bbf3506cba55 (diff)
downloadlinux-993fd584942a75edda5e9cdec24c590c7a766b2d.tar.xz
drm/mediatek: Remove irq in struct mtk_ddp_comp
irq in struct mtk_ddp_comp is useless, so remove it. Signed-off-by: CK Hu <ck.hu@mediatek.com> Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c
index eaca3b930c5b..775bc37c4045 100644
--- a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c
+++ b/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c
@@ -9,7 +9,6 @@
#include <linux/clk.h>
#include <linux/of.h>
#include <linux/of_address.h>
-#include <linux/of_irq.h>
#include <linux/of_platform.h>
#include <linux/platform_device.h>
#include <linux/soc/mediatek/mtk-cmdq.h>
@@ -581,11 +580,9 @@ int mtk_ddp_comp_init(struct device_node *node, struct mtk_ddp_comp *comp,
comp_id == DDP_COMPONENT_DSI2 ||
comp_id == DDP_COMPONENT_DSI3 ||
comp_id == DDP_COMPONENT_PWM0) {
- comp->irq = 0;
return 0;
}
- comp->irq = of_irq_get(node, 0);
comp_pdev = of_find_device_by_node(node);
if (!comp_pdev) {
DRM_INFO("Waiting for device %s\n", node->full_name);