git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pwm: tiehrpwm: Set driver data before runtime PM enable
[sfrench/cifs-2.6.git]
/
drivers
/
pwm
/
pwm-tiehrpwm.c
diff --git
a/drivers/pwm/pwm-tiehrpwm.c
b/drivers/pwm/pwm-tiehrpwm.c
index 6f87a0d5828d654a3a72d32848ca2b9fef756362..4c22cb39504094eb32db6ad94e7718eadb38917b 100644
(file)
--- a/
drivers/pwm/pwm-tiehrpwm.c
+++ b/
drivers/pwm/pwm-tiehrpwm.c
@@
-498,9
+498,9
@@
static int ehrpwm_pwm_probe(struct platform_device *pdev)
goto err_clk_unprepare;
}
+ platform_set_drvdata(pdev, pc);
pm_runtime_enable(&pdev->dev);
- platform_set_drvdata(pdev, pc);
return 0;
err_clk_unprepare: