projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2974b09
)
pwm: samsung: Use SIMPLE_DEV_PM_OPS macro
author
Jingoo Han
<jg1.han@samsung.com>
Wed, 26 Feb 2014 01:17:53 +0000
(10:17 +0900)
committer
Thierry Reding
<thierry.reding@gmail.com>
Wed, 26 Feb 2014 15:14:57 +0000
(16:14 +0100)
Use SIMPLE_DEV_PM_OPS macro in order to make the code simpler.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-samsung.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pwm/pwm-samsung.c
b/drivers/pwm/pwm-samsung.c
index b59639e0c02978388126a1d7d56d8f3b62c32b6c..d66529a995a193cc28057957ce408ba9daf124cb 100644
(file)
--- a/
drivers/pwm/pwm-samsung.c
+++ b/
drivers/pwm/pwm-samsung.c
@@
-598,9
+598,8
@@
static int pwm_samsung_resume(struct device *dev)
}
#endif
-static const struct dev_pm_ops pwm_samsung_pm_ops = {
- SET_SYSTEM_SLEEP_PM_OPS(pwm_samsung_suspend, pwm_samsung_resume)
-};
+static SIMPLE_DEV_PM_OPS(pwm_samsung_pm_ops, pwm_samsung_suspend,
+ pwm_samsung_resume);
static struct platform_driver pwm_samsung_driver = {
.driver = {
This page took
0.025244 seconds
and
5
git commands to generate.