projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mm: use pgdat_end_pfn() to simplify the code in others
[deliverable/linux.git]
/
drivers
/
leds
/
leds-pwm.c
diff --git
a/drivers/leds/leds-pwm.c
b/drivers/leds/leds-pwm.c
index faf52c005e8c230ef255407294e3f44b6beb6b0b..2848171b8576f3475c63b0669c5a9788d11e6069 100644
(file)
--- a/
drivers/leds/leds-pwm.c
+++ b/
drivers/leds/leds-pwm.c
@@
-147,7
+147,7
@@
err:
static int led_pwm_probe(struct platform_device *pdev)
{
static int led_pwm_probe(struct platform_device *pdev)
{
- struct led_pwm_platform_data *pdata =
pdev->dev.platform_data
;
+ struct led_pwm_platform_data *pdata =
dev_get_platdata(&pdev->dev)
;
struct led_pwm_priv *priv;
int i, ret = 0;
struct led_pwm_priv *priv;
int i, ret = 0;
@@
-232,7
+232,7
@@
static struct platform_driver led_pwm_driver = {
.driver = {
.name = "leds_pwm",
.owner = THIS_MODULE,
.driver = {
.name = "leds_pwm",
.owner = THIS_MODULE,
- .of_match_table = of_
match_ptr(of_pwm_leds_match)
,
+ .of_match_table = of_
pwm_leds_match
,
},
};
},
};
This page took
0.025577 seconds
and
5
git commands to generate.