History log of /drivers/regulator/mc13xxx-regulator-core.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
532691635475487b8c1d6fc618bd123084904897 09-Feb-2012 David Miller <davem@davemloft.net> regulator: Fix mc13xxx regulator modular build (again)

Since mc13xxx-regulator-core.c and the actual drivers can get built
into seperate modules, you have to export the DT support symbols
"mc13xxx_get_num_regulators_dt" and "mc13xxx_parse_regulators_dt"
otherwise the allmodconfig build fails on sparc64.

[Updated the subject; the same thing was previously reported and fixed
in -next but for some reason nobody noticed for some considerable time
after the issue was introduced -- broonie]

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
/drivers/regulator/mc13xxx-regulator-core.c
93bcb23b38f634e8fb4ddda0d3f4862fda5cedae 21-Dec-2011 Shawn Guo <shawn.guo@linaro.org> regulator: mc13892: add device tree probe support

It adds device tree probe support for mc13892-regulator driver.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
/drivers/regulator/mc13xxx-regulator-core.c
65602c32ee9b5500e3cb617ccec2154ee2191898 17-Jul-2011 Paul Gortmaker <paul.gortmaker@windriver.com> regulator: Add module.h to drivers/regulator users as required

Another group of drivers that are taking advantage of the implicit
presence of module.h -- and will break when we pull the carpet out
from under them during a cleanup. Fix 'em now.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
/drivers/regulator/mc13xxx-regulator-core.c
3c24019ddeab71ddf125ad2ad13a38041655c1fd 18-May-2011 Axel Lin <axel.lin@gmail.com> regulator: Fix off-by-one value range checking for mc13xxx_regulator_get_voltage

We use val as array index,
thus the valid value rangae for val should be 0 .. n_voltages-1.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
/drivers/regulator/mc13xxx-regulator-core.c
4b2f67d756cf4a5ed8e8d11caa7dcea06c41a09e 23-Feb-2011 Jesper Juhl <jj@chaosbits.net> regulator, mc13xxx: Remove pointless test for unsigned less than zero

The variable 'val' is a 'unsigned int', so it can never be less than zero.
This fact makes the "val < 0" part of the test done in BUG_ON() in
mc13xxx_regulator_get_voltage() rather pointles since it can never have
any effect.
This patch removes the pointless test.

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Acked-by: Alberto Panizzo <maramaopercheseimorto@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
/drivers/regulator/mc13xxx-regulator-core.c
4d7071f1fdc9c27e15e8aaede27bef9f4feccafe 15-Dec-2010 Mark Brown <broonie@opensource.wolfsonmicro.com> regulator: Allow modular build of mc13xxx-core

Since the MFD core for this device and the regulator drivers for these
devices can be built modular we should also support modular build of
the shared code for the regulator drivers, otherwise we try to link
built in code against modular code with unfortunate results.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
/drivers/regulator/mc13xxx-regulator-core.c
167e3d8af98a111994c4d6b3c5cbc589aedbbc2a 14-Dec-2010 Yong Shen <yong.shen@linaro.org> 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/mc13xxx-regulator-core.c