]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0835f9b5204a1b520d8bfcc46b139cf7dfc95427
tree21c42e354ff454b0c528c1884a8c3297b0a30697
parent1ebb2b9372bfe8eeba138d95fb7df3df07f0ce8d
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