leds: drivers/leds/leds-ss4200.c: fix return statement
[linux-2.6.git] / drivers / leds / leds-ss4200.c
index c7f6347..97f0498 100644 (file)
@@ -350,7 +350,7 @@ static int __devinit ich7_lpc_probe(struct pci_dev *dev,
        status = pci_enable_device(dev);
        if (status) {
                dev_err(&dev->dev, "pci_enable_device failed\n");
-               return;
+               return -EIO;
        }
 
        nas_gpio_pci_dev = dev;