summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/88pm805.c
diff options
context:
space:
mode:
authorAnilKumar Ch <anilkumar@ti.com>2012-08-13 20:36:05 +0530
committerSamuel Ortiz <sameo@linux.intel.com>2012-08-22 10:55:25 +0200
commit1922b0f2758badc0b971d1ebbd300bc6635a6aef (patch)
treefa725f8e1a7b3a3f7eac166a1de8cea29adf46ae /drivers/mfd/88pm805.c
parentd9875690d9b89a866022ff49e3fcea892345ad92 (diff)
downloadlinux-1922b0f2758badc0b971d1ebbd300bc6635a6aef.tar.bz2
mfd: Move tps65217 regulator plat data handling to regulator
Regulator platform data handling was mistakenly added to MFD driver. So we will see build errors if we compile MFD drivers without CONFIG_REGULATOR. This patch moves regulator platform data handling from TPS65217 MFD driver to regulator driver. This makes MFD driver independent of REGULATOR framework so build error is fixed if CONFIG_REGULATOR is not set. drivers/built-in.o: In function `tps65217_probe': tps65217.c:(.devinit.text+0x13e37): undefined reference to `of_regulator_match' This patch also fix allocation size of tps65217 platform data. Current implementation allocates a struct tps65217_board for each regulator specified in the device tree. But the structure itself provides array of regulators so one instance of it is sufficient. Signed-off-by: AnilKumar Ch <anilkumar@ti.com>
Diffstat (limited to 'drivers/mfd/88pm805.c')
0 files changed, 0 insertions, 0 deletions