mfd: tps80031: Natively register pm_power_off
authorDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 22:56:47 +0000 (14:56 -0800)
committerDan Willemsen <dwillemsen@nvidia.com>
Fri, 23 Mar 2012 07:52:28 +0000 (00:52 -0700)
commitc592a43a7ece34462056bc489ebe0a95ee5ea9b9
tree88260cbe7b65a1283feae790a54f7acc77702273
parent526eec417e1f051be5caab3ce3ef1cf2471c919f
mfd: tps80031: 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: Ia545f23b95f9727932aaf3f3b64a109dae0f2448
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
Reviewed-on: http://git-master/r/83592
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: R2730464142118735013a01dcd6485c19c6e8c6c2
drivers/mfd/tps80031.c
include/linux/mfd/tps80031.h