]> err.no Git - linux-2.6/commit
mfd: add platform_data to mfd_cell
authorMike Rapoport <mike@compulab.co.il>
Mon, 28 Jul 2008 23:23:32 +0000 (01:23 +0200)
committerSamuel Ortiz <sameo@openedhand.com>
Mon, 28 Jul 2008 23:23:32 +0000 (01:23 +0200)
commit56edb58be157a06dc147a988af3588059556d392
tree3771389d15ef26bf40ac19f8abd0d39454dc6db6
parent7f71ac9374fec066e428892a68db158946cee1fb
mfd: add platform_data to mfd_cell

Adding platform_data to mfd_cell allows passing of platform data directly
to the platform_device created for each cell and thus reuse of existing
drivers.
On the other side it can be used as a hook to mfd_cell itself
removing the need in mfd_get_cell method.

Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Acked-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
drivers/mfd/mfd-core.c
drivers/mfd/tc6393xb.c
include/linux/mfd/core.h