mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-02-22 13:22:49 +00:00
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>
This commit is contained in:
parent
cd0c1f8cd1
commit
507c133b7d
@ -742,9 +742,7 @@ static int ucb1x00_resume(struct device *dev)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static const struct dev_pm_ops ucb1x00_pm_ops = {
|
static SIMPLE_DEV_PM_OPS(ucb1x00_pm_ops, ucb1x00_suspend, ucb1x00_resume);
|
||||||
SET_SYSTEM_SLEEP_PM_OPS(ucb1x00_suspend, ucb1x00_resume)
|
|
||||||
};
|
|
||||||
|
|
||||||
static struct mcp_driver ucb1x00_driver = {
|
static struct mcp_driver ucb1x00_driver = {
|
||||||
.drv = {
|
.drv = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user