mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-27 14:43:58 +08:00
817bb7fbfb
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> |
||
---|---|---|
.. | ||
abx500 | ||
arizona | ||
da9052 | ||
pcf50633 | ||
pm8xxx | ||
samsung | ||
wm831x | ||
wm8350 | ||
wm8994 | ||
88pm80x.h | ||
88pm860x.h | ||
aat2870.h | ||
abx500.h | ||
adp5520.h | ||
anatop.h | ||
asic3.h | ||
core.h | ||
da903x.h | ||
davinci_voicecodec.h | ||
db8500-prcmu.h | ||
dbx500-prcmu.h | ||
ds1wm.h | ||
ezx-pcap.h | ||
htc-egpio.h | ||
htc-pasic3.h | ||
intel_msic.h | ||
janz.h | ||
lm3533.h | ||
lpc_ich.h | ||
max8925.h | ||
max8997-private.h | ||
max8997.h | ||
max8998-private.h | ||
max8998.h | ||
max77686-private.h | ||
max77686.h | ||
max77693-private.h | ||
max77693.h | ||
mc13xxx.h | ||
mc13783.h | ||
mc13892.h | ||
mcp.h | ||
palmas.h | ||
rc5t583.h | ||
rdc321x.h | ||
sta2x11-mfd.h | ||
stmpe.h | ||
t7l66xb.h | ||
tc3589x.h | ||
tc6387xb.h | ||
tc6393xb.h | ||
ti_ssp.h | ||
tmio.h | ||
tps6105x.h | ||
tps6507x.h | ||
tps6586x.h | ||
tps65090.h | ||
tps65217.h | ||
tps65910.h | ||
tps65912.h | ||
twl4030-audio.h | ||
twl6040.h | ||
ucb1x00.h | ||
wl1273-core.h | ||
wm8400-audio.h | ||
wm8400-private.h | ||
wm8400.h |