Re: [PATCH v2 1/2] power: max17042_battery: Use reg type instead of chip type

From: Krzysztof Kozlowski
Date: Fri Apr 03 2015 - 05:01:14 EST


2015-04-03 10:26 GMT+02:00 Beomho Seo <beomho.seo@xxxxxxxxxxx>:
> Currently, max17042 battery driver choose register map by MAX17042_DevName
> register. But it is return IC specific firmware version. So other maxim chip
> hard to use this drvier. This patch choose chip type from driver_data.
>
> Cc: Sebastian Reichel <sre@xxxxxxxxxx>
> Signed-off-by: Beomho Seo <beomho.seo@xxxxxxxxxxx>
> ---
> drivers/power/max17042_battery.c | 33 ++++++++++----------------------
> include/linux/power/max17042_battery.h | 9 ++++++++-
> 2 files changed, 18 insertions(+), 24 deletions(-)

Reviewed-by: Krzysztof Kozlowski <k.kozlowski@xxxxxxxxxxx>

Best regards,
Krzysztof
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/