]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/mfd/ab8500-debugfs.c
drm/udl: Store active framebuffer in device structure
[linux.git] / drivers / mfd / ab8500-debugfs.c
index 567a34b073dd6b4edcea756fa95df183b6a61ffb..f4e26b6e5362de32017f9feceabfc01519387e95 100644 (file)
@@ -2680,16 +2680,12 @@ static int ab8500_debug_probe(struct platform_device *plf)
        irq_ab8500 = res->start;
 
        irq_first = platform_get_irq_byname(plf, "IRQ_FIRST");
-       if (irq_first < 0) {
-               dev_err(&plf->dev, "First irq not found, err %d\n", irq_first);
+       if (irq_first < 0)
                return irq_first;
-       }
 
        irq_last = platform_get_irq_byname(plf, "IRQ_LAST");
-       if (irq_last < 0) {
-               dev_err(&plf->dev, "Last irq not found, err %d\n", irq_last);
+       if (irq_last < 0)
                return irq_last;
-       }
 
        ab8500_dir = debugfs_create_dir(AB8500_NAME_STRING, NULL);