OMAP2+ / PM: move runtime PM implementation to use device power domains
authorKevin Hilman <khilman@ti.com>
Thu, 28 Apr 2011 22:36:42 +0000 (00:36 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Thu, 28 Apr 2011 22:36:42 +0000 (00:36 +0200)
commit638080c37ae08fd0c44cec13d7948ca5385ae851
tree8ca3392acd9acd42d56efdb8dca1012a0315c761
parent8b313a38ecffc0ff0b4c5115f0a461f73b7dfdb6
OMAP2+ / PM: move runtime PM implementation to use device power domains

In commit 7538e3db6e015e890825fbd9f8659952896ddd5b (PM: add support
for device power domains) a better way for handling platform-specific
power hooks was introduced.

Rather than using the platform_bus dev_pm_ops overrides
(platform_bus_set_pm_ops()), this patch moves the OMAP runtime PM
implementation over to using device power domains.

Since OMAP is the only user of platform_bus_set_pm_ops(), that
interface can be removed (and will be in a forthcoming patch.)

[rjw: Rebased on top of a previous change modifying the handling of
 power domains by the PM core so that power domain callbacks take
 precendence over subsystem-level PM callbacks.]

Signed-off-by: Kevin Hilman <khilman@ti.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
arch/arm/mach-omap2/Makefile
arch/arm/mach-omap2/pm_bus.c [deleted file]
arch/arm/plat-omap/omap_device.c