diff options
Diffstat (limited to 'drivers/video/backlight/pwm_bl.c')
-rw-r--r-- | drivers/video/backlight/pwm_bl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/backlight/pwm_bl.c b/drivers/video/backlight/pwm_bl.c index 1fea627394d7..36db5d98dd2f 100644 --- a/drivers/video/backlight/pwm_bl.c +++ b/drivers/video/backlight/pwm_bl.c | |||
@@ -163,7 +163,7 @@ static int pwm_backlight_parse_dt(struct device *dev, | |||
163 | 163 | ||
164 | static int pwm_backlight_probe(struct platform_device *pdev) | 164 | static int pwm_backlight_probe(struct platform_device *pdev) |
165 | { | 165 | { |
166 | struct platform_pwm_backlight_data *data = pdev->dev.platform_data; | 166 | struct platform_pwm_backlight_data *data = dev_get_platdata(&pdev->dev); |
167 | struct platform_pwm_backlight_data defdata; | 167 | struct platform_pwm_backlight_data defdata; |
168 | struct backlight_properties props; | 168 | struct backlight_properties props; |
169 | struct backlight_device *bl; | 169 | struct backlight_device *bl; |