make mc13783 regulator code generic
authorYong Shen <yong.shen@linaro.org>
Tue, 14 Dec 2010 06:00:54 +0000 (14:00 +0800)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Wed, 12 Jan 2011 14:33:03 +0000 (14:33 +0000)
commit167e3d8af98a111994c4d6b3c5cbc589aedbbc2a
tree16b54e06e33b949a0ca98542131610926d483bae
parent57c78e359a35c69eca4c88f107500f74ef7f0acf
make mc13783 regulator code generic

move some common functions and micros of mc13783 regulaor driver to
a seperate file, which makes it possible for mc13892 to share code.

Signed-off-by: Yong Shen <yong.shen@linaro.org>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/Kconfig
drivers/regulator/Makefile
drivers/regulator/mc13783-regulator.c
drivers/regulator/mc13xxx-regulator-core.c [new file with mode: 0644]
drivers/regulator/mc13xxx.h [new file with mode: 0644]