mfd: max8907c: Natively register pm_power_off
authorDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 23:18:24 +0000 (15:18 -0800)
committerSimone Willett <swillett@nvidia.com>
Thu, 16 Feb 2012 01:04:16 +0000 (17:04 -0800)
commit5ce373d219536927c2121ab397a4cf01ecf9fc28
tree94a23555cc2e795d4093460f11610f6f94e0cd23
parent0fc5f9bad189e49d473da8e9ddd08a9bd45eac4d
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>
drivers/mfd/max8907c.c
include/linux/mfd/max8907c.h