Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 507c133b authored by Jingoo Han's avatar Jingoo Han Committed by Lee Jones
Browse files

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: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent cd0c1f8c
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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		= {