Commit aaf9ee13 authored by Andrew Morton's avatar Andrew Morton Committed by james toy

drivers/leds/leds-ss4200.c: In function 'ich7_lpc_probe':

drivers/leds/leds-ss4200.c:353: warning: 'return' with no value, in function returning non-void

Cc: Richard Purdie <rpurdie@rpsys.net>
Cc: Dave Hansen <dave@sr71.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 49dd91f6
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment