diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-02-27 06:39:18 -0500 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-03-19 04:58:33 -0400 |
commit | 507c133b7dad837e6d0badbe9dc85310ab27a48a (patch) | |
tree | 8dec2faa95a3668ec3508790f0172ae597bb7164 /drivers/mfd | |
parent | cd0c1f8cd1626e91a05c3297542021095546889c (diff) |
mfd: ucb1x00-core: Use SIMPLE_DEV_PM_OPS macro
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>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/ucb1x00-core.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/mfd/ucb1x00-core.c b/drivers/mfd/ucb1x00-core.c index 0313f839e8fa..153d595afaac 100644 --- a/drivers/mfd/ucb1x00-core.c +++ b/drivers/mfd/ucb1x00-core.c | |||
@@ -742,9 +742,7 @@ static int ucb1x00_resume(struct device *dev) | |||
742 | } | 742 | } |
743 | #endif | 743 | #endif |
744 | 744 | ||
745 | static const struct dev_pm_ops ucb1x00_pm_ops = { | 745 | static SIMPLE_DEV_PM_OPS(ucb1x00_pm_ops, ucb1x00_suspend, ucb1x00_resume); |
746 | SET_SYSTEM_SLEEP_PM_OPS(ucb1x00_suspend, ucb1x00_resume) | ||
747 | }; | ||
748 | 746 | ||
749 | static struct mcp_driver ucb1x00_driver = { | 747 | static struct mcp_driver ucb1x00_driver = { |
750 | .drv = { | 748 | .drv = { |