power_supply: Use max8925 platform_data from cell
authorHaojian Zhuang <haojian.zhuang@marvell.com>
Mon, 18 Apr 2011 14:04:08 +0000 (22:04 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 26 May 2011 17:45:32 +0000 (19:45 +0200)
commit2402ca5e300db0d88fce9e0b3a5218863c71b694
tree9d8ef1d793b4409d43d5da699a016466514a3574
parente6f1945b9e71cbc8498e5fbf8d5352331ac5da14
power_supply: Use max8925 platform_data from cell

Avoid to get platform_data from parent device. Get it from mfd cell
device instead.

Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Acked-by: Anton Vorontsov <cbou@mail.ru>
Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/power/max8925_power.c