ARM: OMAP: omap_device: remove omap_device_parent
authorKevin Hilman <khilman@ti.com>
Wed, 15 Feb 2012 19:47:45 +0000 (11:47 -0800)
committerKevin Hilman <khilman@ti.com>
Mon, 5 Mar 2012 23:38:02 +0000 (15:38 -0800)
commit3ec2decbb6dfcdbbb6e6a8ddf5adc7edbc429ed7
tree5b53e02a27c31fb6bd3ba57de2d8d51c9347d710
parent401606fd708885d28ce3c14a2a8fe612f8a6b50f
ARM: OMAP: omap_device: remove omap_device_parent

Currently all omap_devices are forced to have the dummy device
'omap_device_parent' as a parent.  This was used to distinguish
omap_devices from "normal" platform_devices in the OMAP PM core code.

Now that we implement the PM core using PM domains, this is no longer
needed, and is removed.

This also frees up omap_devices to have a more complex parent/child
relationships that model actual device relationships.

The only in-tree user of omap_device_parent was the OMAP PM layer to
handle lost-context count for omap_devices.  That is now converted to
use the presence of the omap_device_pm_domain instead.

Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/plat-omap/include/plat/omap_device.h
arch/arm/plat-omap/omap-pm-noop.c
arch/arm/plat-omap/omap_device.c
This page took 0.025283 seconds and 5 git commands to generate.