mfd: Refactor DB8500 PRCMU reg access
authorMattias Nilsson <mattias.i.nilsson@stericsson.com>
Fri, 12 Aug 2011 08:27:20 +0000 (10:27 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 24 Oct 2011 12:09:17 +0000 (14:09 +0200)
commitc553b3ca12046884af1a72ffb6e9d841a026adb9
tree20463ba565e7d3f2ffa7dcafa725c6524cf46026
parentc38d66ac924e84ea3606c408b117157415df07b3
mfd: Refactor DB8500 PRCMU reg access

Instead of carrying around the __PRCMU_BASE in every read or
write to the PRCMU registers, move it out to the register
definition file and define registers along with their base
offset so that the code gets easier to read.

Signed-off-by: Mattias Nilsson <mattias.i.nilsson@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/db8500-prcmu-regs.h
drivers/mfd/db8500-prcmu.c