regulator: twl: adapt twl-regulator driver to dt
authorRajendra Nayak <rnayak@ti.com>
Tue, 28 Feb 2012 09:39:11 +0000 (14:39 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 11 Mar 2012 20:09:08 +0000 (20:09 +0000)
commit2098e95ce9bb039ff2e7bf836df358d18a176139
treeed2c162f5b37325071fcc39778a60ce3fe9daed1
parent34a38440689b06a515104d668494e0ff8a4e1537
regulator: twl: adapt twl-regulator driver to dt

Modify the twl regulator driver to extract the regulator_init_data from
device tree when passed, instead of getting it through platform_data
structures (on non-DT builds)

Also add documentation for TWL regulator specific bindings.

Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Documentation/devicetree/bindings/regulator/twl-regulator.txt [new file with mode: 0644]
drivers/regulator/twl-regulator.c