]> git.baikalelectronics.ru Git - kernel.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)
commit3e073974f4ccb7ae9fdc975157a68dc5aa4d0255
treec17db1ae92212ed1269d66965a0eaba583f1cd21
parentf0c5c06eb662e12cb4cfee6b69374ec243ef7012
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