diff options
author | Tony Lindgren <tony@atomide.com> | 2018-04-16 13:22:01 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2018-04-16 13:22:40 -0400 |
commit | 44773ba170a6f969620221a6d87d03feae5e464f (patch) | |
tree | 2f18ff1277fe87f237570ace7de135a8047196a0 /arch/arm/mach-omap2/pm-debug.c | |
parent | 60cc43fc888428bb2f18f08997432d426a243338 (diff) |
ARM: OMAP2+: Drop unused pm-noop
Looks like these functions don't do anything in the mainline kernel so
we can just drop it.
Note that we must now also remove ir-rx51 pdata as it relies on the dummy
platform data that does not do anything. And ir-rx51 is calling a pdata
callback that doesn't do anything without checking if it exists first.
For configuring device specific minimal latencies, the interface to use
is pm_qos_add_request(). For an example, see what was done in commit
9834ffd1ecc3 ("ASoC: omap-mcbsp: Add PM QoS support for McBSP to prevent
glitches"). I've added some comments to ir-rx51 so people using it can
add pm_qos support and test it.
Cc: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
Cc: Kevin Hilman <khilman@kernel.org>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Acked-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/pm-debug.c')
-rw-r--r-- | arch/arm/mach-omap2/pm-debug.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm/mach-omap2/pm-debug.c b/arch/arm/mach-omap2/pm-debug.c index 5c46ea6756d7..acb698d5780f 100644 --- a/arch/arm/mach-omap2/pm-debug.c +++ b/arch/arm/mach-omap2/pm-debug.c | |||
@@ -31,7 +31,6 @@ | |||
31 | #include "clock.h" | 31 | #include "clock.h" |
32 | #include "powerdomain.h" | 32 | #include "powerdomain.h" |
33 | #include "clockdomain.h" | 33 | #include "clockdomain.h" |
34 | #include "omap-pm.h" | ||
35 | 34 | ||
36 | #include "soc.h" | 35 | #include "soc.h" |
37 | #include "cm2xxx_3xxx.h" | 36 | #include "cm2xxx_3xxx.h" |
@@ -240,10 +239,6 @@ static int option_set(void *data, u64 val) | |||
240 | *option = val; | 239 | *option = val; |
241 | 240 | ||
242 | if (option == &enable_off_mode) { | 241 | if (option == &enable_off_mode) { |
243 | if (val) | ||
244 | omap_pm_enable_off_mode(); | ||
245 | else | ||
246 | omap_pm_disable_off_mode(); | ||
247 | if (cpu_is_omap34xx()) | 242 | if (cpu_is_omap34xx()) |
248 | omap3_pm_off_mode_enable(val); | 243 | omap3_pm_off_mode_enable(val); |
249 | } | 244 | } |