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

Commit 626fb980 authored by Rahul Sharma's avatar Rahul Sharma Committed by Gerrit - the friendly Code Review server
Browse files

adv7481: Remove conditional compilation for PM functions



Remove conditional compilation for power management functions,
so that suspend and resume are called always.

Change-Id: I6309df0d12db16c90a10127293bb2715cde15a29
Signed-off-by: default avatarRahul Sharma <sharah@codeaurora.org>
parent df0c65ec
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -2449,7 +2449,6 @@ static int adv7481_remove(struct platform_device *pdev)
	return 0;
}

#ifdef CONFIG_PM_SLEEP
static int adv7481_suspend(struct device *dev)
{
	struct adv7481_state *state;
@@ -2487,10 +2486,6 @@ static int adv7481_resume(struct device *dev)
static SIMPLE_DEV_PM_OPS(adv7481_pm_ops, adv7481_suspend, adv7481_resume);
#define ADV7481_PM_OPS (&adv7481_pm_ops)

#else
#define ADV7481_PM_OPS NULL
#endif

static struct platform_driver adv7481_driver = {
	.driver = {
		.owner = THIS_MODULE,