diff options
Diffstat (limited to 'drivers/gpu/host1x/dev.c')
| -rw-r--r-- | drivers/gpu/host1x/dev.c | 4 | 
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/host1x/dev.c b/drivers/gpu/host1x/dev.c index a738ea55e407..388bcc2889aa 100644 --- a/drivers/gpu/host1x/dev.c +++ b/drivers/gpu/host1x/dev.c @@ -339,10 +339,8 @@ static int host1x_probe(struct platform_device *pdev)  	}  	syncpt_irq = platform_get_irq(pdev, 0); -	if (syncpt_irq < 0) { -		dev_err(&pdev->dev, "failed to get IRQ: %d\n", syncpt_irq); +	if (syncpt_irq < 0)  		return syncpt_irq; -	}  	mutex_init(&host->devices_lock);  	INIT_LIST_HEAD(&host->devices);  |