projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'upstream-3.12-rc1' of git://git.infradead.org/linux-ubifs
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
drivers
/
leds
/
leds-lm3533.c
diff --git
a/drivers/leds/leds-lm3533.c
b/drivers/leds/leds-lm3533.c
index
bbf24d0
..
027ede7
100644
(file)
--- a/
drivers/leds/leds-lm3533.c
+++ b/
drivers/leds/leds-lm3533.c
@@
-671,7
+671,7
@@
static int lm3533_led_probe(struct platform_device *pdev)
if (!lm3533)
return -EINVAL;
- pdata =
pdev->dev.platform_data
;
+ pdata =
dev_get_platdata(&pdev->dev)
;
if (!pdata) {
dev_err(&pdev->dev, "no platform data\n");
return -EINVAL;