diff options
author | Dan Willemsen <dwillemsen@nvidia.com> | 2011-12-01 15:09:35 -0800 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-02-15 16:55:41 -0800 |
commit | 8e9c3586d309db31fea2826f7d7f929bc715e3e7 (patch) | |
tree | 4dc5fbb189aca706df0921edaada4776c54e9275 /arch/arm/mach-tegra/board-cardhu-pm298-power-rails.c | |
parent | b2aed388161fc9642de76045cfce746d4175d63e (diff) |
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>
Diffstat (limited to 'arch/arm/mach-tegra/board-cardhu-pm298-power-rails.c')
-rw-r--r-- | arch/arm/mach-tegra/board-cardhu-pm298-power-rails.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-cardhu-pm298-power-rails.c b/arch/arm/mach-tegra/board-cardhu-pm298-power-rails.c index 32a8da2d521f..8a862270e89e 100644 --- a/arch/arm/mach-tegra/board-cardhu-pm298-power-rails.c +++ b/arch/arm/mach-tegra/board-cardhu-pm298-power-rails.c @@ -332,6 +332,8 @@ static struct max77663_platform_data max7763_pdata = { .num_subdevs = ARRAY_SIZE(max77663_subdevs), .sub_devices = max77663_subdevs, + + .use_power_off = true, }; static struct i2c_board_info __initdata max77663_regulators[] = { |