diff options
Diffstat (limited to 'drivers/leds')
-rw-r--r-- | drivers/leds/leds-mc13783.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/leds/leds-mc13783.c b/drivers/leds/leds-mc13783.c index cf71764ff44..b3393a9f213 100644 --- a/drivers/leds/leds-mc13783.c +++ b/drivers/leds/leds-mc13783.c | |||
@@ -183,7 +183,7 @@ static int __devinit mc13783_led_setup(struct mc13783_led *led, int max_current) | |||
183 | 183 | ||
184 | static int __devinit mc13783_leds_prepare(struct platform_device *pdev) | 184 | static int __devinit mc13783_leds_prepare(struct platform_device *pdev) |
185 | { | 185 | { |
186 | struct mc13783_leds_platform_data *pdata = dev_get_platdata(&pdev->dev); | 186 | struct mc13xxx_leds_platform_data *pdata = dev_get_platdata(&pdev->dev); |
187 | struct mc13xxx *dev = dev_get_drvdata(pdev->dev.parent); | 187 | struct mc13xxx *dev = dev_get_drvdata(pdev->dev.parent); |
188 | int ret = 0; | 188 | int ret = 0; |
189 | int reg = 0; | 189 | int reg = 0; |
@@ -264,8 +264,8 @@ out: | |||
264 | 264 | ||
265 | static int __devinit mc13783_led_probe(struct platform_device *pdev) | 265 | static int __devinit mc13783_led_probe(struct platform_device *pdev) |
266 | { | 266 | { |
267 | struct mc13783_leds_platform_data *pdata = dev_get_platdata(&pdev->dev); | 267 | struct mc13xxx_leds_platform_data *pdata = dev_get_platdata(&pdev->dev); |
268 | struct mc13783_led_platform_data *led_cur; | 268 | struct mc13xxx_led_platform_data *led_cur; |
269 | struct mc13783_led *led, *led_dat; | 269 | struct mc13783_led *led, *led_dat; |
270 | int ret, i; | 270 | int ret, i; |
271 | int init_led = 0; | 271 | int init_led = 0; |
@@ -351,7 +351,7 @@ err_free: | |||
351 | 351 | ||
352 | static int __devexit mc13783_led_remove(struct platform_device *pdev) | 352 | static int __devexit mc13783_led_remove(struct platform_device *pdev) |
353 | { | 353 | { |
354 | struct mc13783_leds_platform_data *pdata = dev_get_platdata(&pdev->dev); | 354 | struct mc13xxx_leds_platform_data *pdata = dev_get_platdata(&pdev->dev); |
355 | struct mc13783_led *led = platform_get_drvdata(pdev); | 355 | struct mc13783_led *led = platform_get_drvdata(pdev); |
356 | struct mc13xxx *dev = dev_get_drvdata(pdev->dev.parent); | 356 | struct mc13xxx *dev = dev_get_drvdata(pdev->dev.parent); |
357 | int i; | 357 | int i; |