aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/leds
diff options
context:
space:
mode:
authorakpm@linux-foundation.org <akpm@linux-foundation.org>2009-11-13 22:56:37 -0500
committerRichard Purdie <rpurdie@linux.intel.com>2009-12-17 06:36:40 -0500
commiteedd898f6910b88aa2052461ad0c3f443b45bb00 (patch)
treefe3de27c579fc281a48d1c1d4a7b8d34aaf99ca7 /drivers/leds
parent9695fff8f84d7ab849139750036e443b85804edd (diff)
leds: drivers/leds/leds-ss4200.c: fix return statement
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>
Diffstat (limited to 'drivers/leds')
-rw-r--r--drivers/leds/leds-ss4200.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/leds-ss4200.c b/drivers/leds/leds-ss4200.c
index c7f634727d6..97f04984c1c 100644
--- a/drivers/leds/leds-ss4200.c
+++ b/drivers/leds/leds-ss4200.c
@@ -350,7 +350,7 @@ static int __devinit ich7_lpc_probe(struct pci_dev *dev,
350 status = pci_enable_device(dev); 350 status = pci_enable_device(dev);
351 if (status) { 351 if (status) {
352 dev_err(&dev->dev, "pci_enable_device failed\n"); 352 dev_err(&dev->dev, "pci_enable_device failed\n");
353 return; 353 return -EIO;
354 } 354 }
355 355
356 nas_gpio_pci_dev = dev; 356 nas_gpio_pci_dev = dev;