]> git.karo-electronics.de Git - linux-beck.git/commit
mfd: mfd_cell is now implicitly available to mc13xxx drivers
authorAndres Salomon <dilinger@queued.net>
Fri, 18 Feb 2011 03:07:23 +0000 (19:07 -0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 23 Mar 2011 09:41:54 +0000 (10:41 +0100)
commit4ec1b54c4d082d4bad19b55ca709da7e7138d542
treec17db1ae92212ed1269d66965a0eaba583f1cd21
parent8615e4cba1d3a0f15b9a4da9f32f8fbc3488fa54
mfd: mfd_cell is now implicitly available to mc13xxx drivers

The cell's platform_data is now accessed with a helper function;
change clients to use that, and remove the now-unused data_size.

Note that mfd-core no longer makes a copy of platform_data, but the
mc13xxx-core driver creates the pdata structures on the stack.  In
order to get around that, the various ARM mach types that set the
pdata have been changed to hold the variable in static (global) memory.
Also note that __initdata references in aforementioned pdata structs
have been dropped.

Signed-off-by: Andres Salomon <dilinger@queued.net>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
arch/arm/mach-imx/mach-mx27_3ds.c
arch/arm/mach-imx/mach-pcm038.c
arch/arm/mach-mx3/mach-mx31_3ds.c
arch/arm/mach-mx3/mach-mx31moboard.c
drivers/leds/leds-mc13783.c
drivers/mfd/mc13xxx-core.c
drivers/regulator/mc13783-regulator.c
drivers/regulator/mc13892-regulator.c
include/linux/mfd/mc13xxx.h