From: Paul Walmsley Date: Thu, 2 Feb 2012 09:30:50 +0000 (-0700) Subject: ARM: OMAP2+: PM: share some suspend-related functions across OMAP2, 3, 4 X-Git-Tag: v3.4-rc1~91^2~3^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1416408d31236dc2a80d269aa23ffa93aa01e833;p=pandora-kernel.git 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 Cc: Santosh Shilimkar Cc: Rajendra Nayak Reviewed-by: Kevin Hilman [khilman@ti.com: minor rework needed due to rebase/merge with conflicting changes] Signed-off-by: Kevin Hilman --- Reading git-diff-tree failed