mfd: ab8500-core switch off status added
authorMattias Wallin <mattias.wallin@stericsson.com>
Wed, 2 Mar 2011 10:52:36 +0000 (11:52 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 23 Mar 2011 09:42:02 +0000 (10:42 +0100)
commite5c238c3fde93afdddef36aec2642155c709d93a
tree11672950437eab7f30218fe2b9b6e44fb1dccde9
parentadceed6263887e04721b477e6504aa24789f827d
mfd: ab8500-core switch off status added

This patch adds a sysfs file with the ab8500 switch off status.
The switch off status contains information of what caused the ab8500
chip to power off. A print during boot is also added.

Signed-off-by: Mattias Wallin <mattias.wallin@stericsson.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/ab8500-core.c