mfd: Avoid to allocate 88pm860x static platform data
authorHaojian Zhuang <haojian.zhuang@marvell.com>
Fri, 6 May 2011 09:21:21 +0000 (17:21 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 26 May 2011 17:45:35 +0000 (19:45 +0200)
commitf5fb758de6d2ddae572ee39de54d60bf5593652a
tree21c42e354ff454b0c528c1884a8c3297b0a30697
parent008b30408c40ede5985397e7daac45d30b375a01
mfd: Avoid to allocate 88pm860x static platform data

Maybe multiple PMIC devices are installed into one board. Static variable
can only make driver logic mess. So remove these variable, and use
platform data from platform driver instead.

Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/88pm860x-core.c