]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9ee65172b65209c43479cd178e519206f11a6512
tree20463ba565e7d3f2ffa7dcafa725c6524cf46026
parent40bbfe52a36363ad62e184d05c14714c3cf2dfd0
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