aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/leds/leds-mc13783.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/leds-mc13783.c b/drivers/leds/leds-mc13783.c
index f4de98052aaa..fa9b439323bd 100644
--- a/drivers/leds/leds-mc13783.c
+++ b/drivers/leds/leds-mc13783.c
@@ -208,7 +208,7 @@ static int __init mc13xxx_led_probe(struct platform_device *pdev)
208 struct mc13xxx_led_devtype *devtype = 208 struct mc13xxx_led_devtype *devtype =
209 (struct mc13xxx_led_devtype *)pdev->id_entry->driver_data; 209 (struct mc13xxx_led_devtype *)pdev->id_entry->driver_data;
210 struct mc13xxx_leds *leds; 210 struct mc13xxx_leds *leds;
211 int i, id, num_leds, ret; 211 int i, id, num_leds, ret = -ENODATA;
212 u32 reg, init_led = 0; 212 u32 reg, init_led = 0;
213 213
214 if (!pdata) { 214 if (!pdata) {