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

From: Beomho Seo
Date: Mon Apr 06 2015 - 09:34:24 EST


On 04/03/2015 06:01 PM, Krzysztof Kozlowski wrote:
> 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
>

Thanks Krzysztof for your reviews.

Sebastian, Could you please merge that your git tree?

Best regards
Beomho


--
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/