Merge tag 'irq_urgent_for_v6.5_rc4' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-microblaze.git] / drivers / pwm / pwm-ab8500.c
index 507ff0d..583a7d6 100644 (file)
@@ -190,7 +190,7 @@ static int ab8500_pwm_probe(struct platform_device *pdev)
        int err;
 
        if (pdev->id < 1 || pdev->id > 31)
-               return dev_err_probe(&pdev->dev, EINVAL, "Invalid device id %d\n", pdev->id);
+               return dev_err_probe(&pdev->dev, -EINVAL, "Invalid device id %d\n", pdev->id);
 
        /*
         * Nothing to be done in probe, this is required to get the