]> git.karo-electronics.de Git - karo-tx-linux.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, 10 Oct 2011 09:55:25 +0000 (11:55 +0200)
commit184577a7f6120ea65234b4158bb9881fb95694e7
treec2e559d1efde256f438c8223082c3a10fb40a659
parentadafc753b0e607fa5ec672a7d18b9ec346e4d117
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