mfd: db8500-prcmu reset code retrieval
authorSebastian Rasmussen <sebastian.rasmussen@stericsson.com>
Fri, 12 Aug 2011 08:28:53 +0000 (10:28 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 24 Oct 2011 12:09:19 +0000 (14:09 +0200)
commit597045de35caaef68a11b6defbb618710e1a1e52
treefab309289b771709c2a658591e73319bfbc9415a
parentd6e3002e493e43aa40473935e1803849cf37b6bb
mfd: db8500-prcmu reset code retrieval

This implements the reset code retrieval function so we can
ipso facto get to know how the system was reset.

Signed-off-by: Sebastian Rasmussen <sebastian.rasmussen@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/db8500-prcmu.c