ARM: tegra: cardhu: Update pm_power_off registration
authorDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 23:09:35 +0000 (15:09 -0800)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 24 Mar 2012 02:57:48 +0000 (19:57 -0700)
commit98650cf833848aeabf895a7bb2f9ed7154f0f733
tree0b55a2da1b31ef55630da9118a5e69814fde4209
parentf2e03568d4477929bc7d589576d662935152d34a
ARM: tegra: cardhu: Update pm_power_off registration

Just set the opt in booleans in the platform data instead of checking
which function to register for pm_power_off.

Change-Id: If336ff69e4b61b4220e6766b2643c5fba74d01cc
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
Reviewed-on: http://git-master/r/83597
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: R1a26cf9ace13f35e2246304b77d42fc9359eacac
arch/arm/mach-tegra/board-cardhu-pm298-power-rails.c
arch/arm/mach-tegra/board-cardhu-power.c
arch/arm/mach-tegra/board-cardhu.c
arch/arm/mach-tegra/board-cardhu.h