summaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2014-09-12 08:53:56 +0200
committerLee Jones <lee.jones@linaro.org>2014-09-24 15:25:47 +0100
commitb8f139f68f2099b7f8b4ef470a1e53210e3aa025 (patch)
tree416abf92550a7a84f074622a535eee2645b33b09 /drivers/power
parent3682a8ee87f9107253e51733f42da10160ce41e3 (diff)
downloadblackbird-op-linux-b8f139f68f2099b7f8b4ef470a1e53210e3aa025.tar.gz
blackbird-op-linux-b8f139f68f2099b7f8b4ef470a1e53210e3aa025.zip
regulator/mfd: max14577: Export symbols for calculating charger current
This patch prepares for changing the max14577 charger driver to allow configuring battery-dependent settings from DTS. The patch moves from regulator driver to MFD core driver and exports: - function for calculating register value for charger's current; - table of limits for chargers (MAX14577, MAX77836). Previously they were used only by the max14577 regulator driver. In next patch the charger driver will use them as well. Exporting them will reduce unnecessary code duplication. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Acked-by: Mark Brown <broonie@linaro.org> Acked-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/power')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud