ARM: OMAP2+: Drop unused pm-noop
authorTony Lindgren <tony@atomide.com>
Mon, 16 Apr 2018 17:22:01 +0000 (10:22 -0700)
committerTony Lindgren <tony@atomide.com>
Mon, 16 Apr 2018 17:22:40 +0000 (10:22 -0700)
commit44773ba170a6f969620221a6d87d03feae5e464f
tree2f18ff1277fe87f237570ace7de135a8047196a0
parent60cc43fc888428bb2f18f08997432d426a243338
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>
14 files changed:
arch/arm/mach-omap2/Makefile
arch/arm/mach-omap2/display.c
arch/arm/mach-omap2/hsmmc.c
arch/arm/mach-omap2/i2c.c
arch/arm/mach-omap2/io.c
arch/arm/mach-omap2/omap-pm-noop.c [deleted file]
arch/arm/mach-omap2/omap-pm.h [deleted file]
arch/arm/mach-omap2/pdata-quirks.c
arch/arm/mach-omap2/pm-debug.c
arch/arm/mach-omap2/pm.c
arch/arm/mach-omap2/timer.c
arch/arm/plat-omap/Kconfig
drivers/media/rc/ir-rx51.c
include/linux/platform_data/media/ir-rx51.h [deleted file]