]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/pwm/pwm-sti.c
Merge tag 'copy-struct-from-user-v5.4-rc4' of gitolite.kernel.org:pub/scm/linux/kerne...
[linux.git] / drivers / pwm / pwm-sti.c
index 20450e34ad57a622895345292d0a311c56dde975..1508616d794cd9b8c04f243753cfe037dc4fc335 100644 (file)
@@ -564,10 +564,8 @@ static int sti_pwm_probe(struct platform_device *pdev)
                return PTR_ERR(pc->regmap);
 
        irq = platform_get_irq(pdev, 0);
-       if (irq < 0) {
-               dev_err(&pdev->dev, "Failed to obtain IRQ\n");
+       if (irq < 0)
                return irq;
-       }
 
        ret = devm_request_irq(&pdev->dev, irq, sti_pwm_interrupt, 0,
                               pdev->name, pc);