summaryrefslogtreecommitdiffstats
path: root/drivers/amba/bus.c
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2022-10-24 14:36:39 +0200
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2022-11-07 15:19:04 +0100
commit3f712c7c78a86640d28cc94469e312e59878d6b8 (patch)
treed1dfb9db82d4ffd403cf1b3615e0c867748438c7 /drivers/amba/bus.c
parentARM: 9260/1: lib/xor: use r10 rather than r7 in xor_arm4regs_{2|3} (diff)
downloadlinux-3f712c7c78a86640d28cc94469e312e59878d6b8.tar.xz
linux-3f712c7c78a86640d28cc94469e312e59878d6b8.zip
ARM: 9261/1: amba: Drop redundant assignments of the system PM callbacks
If the system PM callbacks haven't been assigned, the PM core falls back to invoke the corresponding the pm_generic_* helpers for the device. Let's rely on this behaviour and drop the redundant assignments. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'drivers/amba/bus.c')
-rw-r--r--drivers/amba/bus.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/amba/bus.c b/drivers/amba/bus.c
index 32b0e0b930c1..146af02cedc5 100644
--- a/drivers/amba/bus.c
+++ b/drivers/amba/bus.c
@@ -417,12 +417,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,