aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/arm/display/komeda/komeda_dev.c
diff options
context:
space:
mode:
authorLiviu Dudau <Liviu.Dudau@arm.com>2019-01-15 10:06:31 +0000
committerLiviu Dudau <Liviu.Dudau@arm.com>2019-01-18 10:44:10 +0000
commit874cf192964e05dc6f8103aa8bbcd090a7541312 (patch)
tree4c9332f7b39ce1f70caac384c59c76cf1c848396 /drivers/gpu/drm/arm/display/komeda/komeda_dev.c
parentMAINTAINERS: Add maintainer for Arm komeda driver (diff)
downloadlinux-dev-874cf192964e05dc6f8103aa8bbcd090a7541312.tar.xz
linux-dev-874cf192964e05dc6f8103aa8bbcd090a7541312.zip
drm: arm/komeda: Remove IRQ parsing from initial series
The initial series is only introducing the basic components and not implementing IRQ handling. Remove the left over code that touches IRQs until the proper implementation is introduced in a later series. Reviewed-by: James Qian Wang (Arm Technology China) <james.qian.wang@arm.com> Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
Diffstat (limited to 'drivers/gpu/drm/arm/display/komeda/komeda_dev.c')
-rw-r--r--drivers/gpu/drm/arm/display/komeda/komeda_dev.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpu/drm/arm/display/komeda/komeda_dev.c b/drivers/gpu/drm/arm/display/komeda/komeda_dev.c
index 84fdf707f210..0fe6954fbbf4 100644
--- a/drivers/gpu/drm/arm/display/komeda/komeda_dev.c
+++ b/drivers/gpu/drm/arm/display/komeda/komeda_dev.c
@@ -49,7 +49,6 @@ static int komeda_parse_pipe_dt(struct komeda_dev *mdev, struct device_node *np)
static int komeda_parse_dt(struct device *dev, struct komeda_dev *mdev)
{
- struct platform_device *pdev = to_platform_device(dev);
struct device_node *child, *np = dev->of_node;
struct clk *clk;
int ret;
@@ -59,11 +58,6 @@ static int komeda_parse_dt(struct device *dev, struct komeda_dev *mdev)
return PTR_ERR(clk);
mdev->mclk = clk;
- mdev->irq = platform_get_irq(pdev, 0);
- if (mdev->irq < 0) {
- DRM_ERROR("could not get IRQ number.\n");
- return mdev->irq;
- }
for_each_available_child_of_node(np, child) {
if (of_node_cmp(child->name, "pipeline") == 0) {