* [PATCH] AMBA: Drop redundant assignment of the system PM callbacks
@ 2016-04-20 17:49 Ulf Hansson
0 siblings, 0 replies; only message in thread
From: Ulf Hansson @ 2016-04-20 17:49 UTC (permalink / raw)
To: linux-arm-kernel
Instead of assigning the system PM callbacks to the pm_generic_* helpers,
we can rely on the PM core to get the same behaviour. Therefore let's drop
the assignments.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
---
drivers/amba/bus.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/drivers/amba/bus.c b/drivers/amba/bus.c
index f009936..1e4f57f 100644
--- a/drivers/amba/bus.c
+++ b/drivers/amba/bus.c
@@ -172,12 +172,6 @@ static int amba_pm_runtime_resume(struct device *dev)
#endif /* CONFIG_PM */
static const struct dev_pm_ops amba_pm = {
- .suspend = pm_generic_suspend,
- .resume = pm_generic_resume,
- .freeze = pm_generic_freeze,
- .thaw = pm_generic_thaw,
- .poweroff = pm_generic_poweroff,
- .restore = pm_generic_restore,
SET_RUNTIME_PM_OPS(
amba_pm_runtime_suspend,
amba_pm_runtime_resume,
--
1.9.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-04-20 17:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-20 17:49 [PATCH] AMBA: Drop redundant assignment of the system PM callbacks Ulf Hansson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).