mfd: max8907c: Natively register pm_power_off
authorDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 23:18:24 +0000 (15:18 -0800)
committerDan Willemsen <dwillemsen@nvidia.com>
Fri, 23 Mar 2012 07:52:29 +0000 (00:52 -0700)
commit191cc9691343f4a99dac89f0c7d386884d15524e
tree226abb2956234266fdade11167289848444d3b13
parent2bb5fe193f4fa0dd2c20b5a4ee68acfe546aa9bd
mfd: max8907c: Natively register pm_power_off

Instead of forcing the board files to register this themselves, just add
a bool to the platform data to let the board files opt into this.

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

Rebase-Id: Rd7cf4f9185bd994bc14bb9b48b0e0fbd273b4035
drivers/mfd/max8907c.c
include/linux/mfd/max8907c.h