lkml.org 
[lkml]   [2014]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 13/15] 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>
> Cc: Kyungmin Park <kyungmin.park@samsung.com>
> Cc: Marek Szyprowski <m.szyprowski@samsung.com>
> ---
> drivers/mfd/max14577.c | 95 ++++++++++++++++++++++++++++++++++
> drivers/regulator/max14577.c | 80 +++-------------------------
> include/linux/mfd/max14577-private.h | 22 ++++----
> include/linux/mfd/max14577.h | 23 ++++++++
> 4 files changed, 135 insertions(+), 85 deletions(-)

Applied, with Mark's Ack.

--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2014-02-10 15:01    [W:0.170 / U:0.628 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site