Skip to content

Commit

Permalink
leds: drivers/leds/leds-ss4200.c: fix return statement
Browse files Browse the repository at this point in the history
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

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
  • Loading branch information
akpm00 authored and rpurdie committed Dec 17, 2009
1 parent 9695fff commit eedd898
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/leds/leds-ss4200.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit eedd898

Please sign in to comment.