ARM: OMAP2+: PM: share some suspend-related functions across OMAP2, 3, 4
authorPaul Walmsley <paul@pwsan.com>
Thu, 2 Feb 2012 09:30:50 +0000 (02:30 -0700)
committerKevin Hilman <khilman@ti.com>
Tue, 6 Mar 2012 00:01:19 +0000 (16:01 -0800)
commit1416408d31236dc2a80d269aa23ffa93aa01e833
treefb77d8bad2e21597ed5d0b34fdd040044999e2c2
parentb7c39a3f59ae55aa49ebf670e9329bc7da6d3c65
ARM: OMAP2+: PM: share some suspend-related functions across OMAP2, 3, 4

The platform_suspend_ops can be shared across OMAP2, 3, and 4, along
with all of the functions referenced in that structure.  This patch
shares them.  It also removes the suspend_state file-scoped variable
in the OMAP2 and 3 PM code; it does not appear to be actually needed
by anything.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
Cc: Rajendra Nayak <rnayak@ti.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
[khilman@ti.com: minor rework needed due to rebase/merge with conflicting changes]
Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/mach-omap2/pm.c
arch/arm/mach-omap2/pm.h
arch/arm/mach-omap2/pm24xx.c
arch/arm/mach-omap2/pm34xx.c
arch/arm/mach-omap2/pm44xx.c