mfd: Move to the new db500 PRCMU API
authorMattias Nilsson <mattias.i.nilsson@stericsson.com>
Fri, 12 Aug 2011 08:28:10 +0000 (10:28 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 24 Oct 2011 12:09:18 +0000 (14:09 +0200)
commit73180f85f4ffbb66843f8248811b2ade29b22df2
tree26b48bd3369e2f38d741bae92ceef25e8da35948
parentfea799e3d3ab84ac675de7e48a13a79fb76b6e63
mfd: Move to the new db500 PRCMU API

Now that we have a shared API between the DB8500 and DB5500
PRCMU's, switch to using this neutral API instead. We delete the
parts of db8500-prcmu.h that is now PRCMU-neutral, and calls will
be diverted to respective driver. Common registers are in
dbx500-prcmu-regs.h and common accessors and defines in
<linux/mfd/dbx500-prcmu.h> This way we get a a lot more
abstraction and code reuse.

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>
arch/arm/mach-ux500/cpu.c
drivers/cpufreq/db8500-cpufreq.c
drivers/mfd/db5500-prcmu-regs.h [deleted file]
drivers/mfd/db5500-prcmu.c
drivers/mfd/db8500-prcmu-regs.h [deleted file]
drivers/mfd/db8500-prcmu.c
drivers/mfd/dbx500-prcmu-regs.h [new file with mode: 0644]
drivers/regulator/db8500-prcmu.c
include/linux/mfd/db5500-prcmu.h
include/linux/mfd/db8500-prcmu.h
include/linux/mfd/dbx500-prcmu.h