summaryrefslogtreecommitdiff
path: root/drivers/media/platform/sunxi/sun8i-rotate/sun8i_rotate.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/platform/sunxi/sun8i-rotate/sun8i_rotate.c')
-rw-r--r--drivers/media/platform/sunxi/sun8i-rotate/sun8i_rotate.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/media/platform/sunxi/sun8i-rotate/sun8i_rotate.c b/drivers/media/platform/sunxi/sun8i-rotate/sun8i_rotate.c
index 94f505d3cbad..3f81dd17755c 100644
--- a/drivers/media/platform/sunxi/sun8i-rotate/sun8i_rotate.c
+++ b/drivers/media/platform/sunxi/sun8i-rotate/sun8i_rotate.c
@@ -747,11 +747,8 @@ static int rotate_probe(struct platform_device *pdev)
dev->dev = &pdev->dev;
irq = platform_get_irq(pdev, 0);
- if (irq <= 0) {
- dev_err(dev->dev, "Failed to get IRQ\n");
-
+ if (irq <= 0)
return irq;
- }
ret = devm_request_irq(dev->dev, irq, rotate_irq,
0, dev_name(dev->dev), dev);