mfd: tps6586x: Natively register pm_power_off
authorDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 23:13:54 +0000 (15:13 -0800)
committerSimone Willett <swillett@nvidia.com>
Thu, 16 Feb 2012 00:56:33 +0000 (16:56 -0800)
commit88b5905d67d7ba03e98008fdcb4bf7874bcade18
treee8efc9182211641d85002202565403602132d511
parent8e9c3586d309db31fea2826f7d7f929bc715e3e7
mfd: tps6586x: 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: I831c93026f8343d9962e174a3591e6832c5219d8
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
Reviewed-on: http://git-master/r/83598
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
drivers/mfd/tps6586x.c
include/linux/mfd/tps6586x.h