projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd0c1f8
)
mfd: ucb1x00-core: Use SIMPLE_DEV_PM_OPS macro
author
Jingoo Han
<jg1.han@samsung.com>
Thu, 27 Feb 2014 11:39:18 +0000
(20:39 +0900)
committer
Lee Jones
<lee.jones@linaro.org>
Wed, 19 Mar 2014 08:58:33 +0000
(08:58 +0000)
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: Lee Jones <lee.jones@linaro.org>
drivers/mfd/ucb1x00-core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/ucb1x00-core.c
b/drivers/mfd/ucb1x00-core.c
index 0313f839e8fadc32228b9c892edb31a449b53ace..153d595afaacb50306bd017a1893c8f27b1c0ca3 100644
(file)
--- a/
drivers/mfd/ucb1x00-core.c
+++ b/
drivers/mfd/ucb1x00-core.c
@@
-742,9
+742,7
@@
static int ucb1x00_resume(struct device *dev)
}
#endif
-static const struct dev_pm_ops ucb1x00_pm_ops = {
- SET_SYSTEM_SLEEP_PM_OPS(ucb1x00_suspend, ucb1x00_resume)
-};
+static SIMPLE_DEV_PM_OPS(ucb1x00_pm_ops, ucb1x00_suspend, ucb1x00_resume);
static struct mcp_driver ucb1x00_driver = {
.drv = {