]> git.karo-electronics.de Git - linux-beck.git/commit
MFD: mcp-sa11x0: move setup of PPC unit out of mcp-sa11x0.c
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 20 Jan 2012 22:24:07 +0000 (22:24 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 3 Feb 2012 17:38:02 +0000 (17:38 +0000)
commite36e26a8b761d1a601e284e2b5d8aff84de3b756
tree45b13e9d5363036576fdefaeca5681db5a08cb1d
parent7658e7f9a8122b0678e4b4280308560aa5444bd5
MFD: mcp-sa11x0: move setup of PPC unit out of mcp-sa11x0.c

Patch taken from af9081ae64 (ARM: sa1100: Refactor mcp-sa11x0 to use
platform resources.) by Jochen Friedrich <jochen@scram.de>, and
consolidated to use a common function.

Move the setup of the PPC unit out of mcp-sa11x0 into the core SA11x0
code, and call it from each platforms initialization file.  This
centralizes the setup of the PPC unit while not polluting the mcp-sa11x0
driver with these details.

Acked-by: Jochen Friedrich <jochen@scram.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-sa1100/assabet.c
arch/arm/mach-sa1100/cerf.c
arch/arm/mach-sa1100/collie.c
arch/arm/mach-sa1100/generic.c
arch/arm/mach-sa1100/generic.h
arch/arm/mach-sa1100/lart.c
arch/arm/mach-sa1100/shannon.c
arch/arm/mach-sa1100/simpad.c
drivers/mfd/mcp-sa11x0.c