[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJKOXPe9wRK-TYXkMbN0h6B6zWSTYJRvLy8Ji6vWLULxaRbreQ@mail.gmail.com>
Date: Fri, 3 Apr 2015 11:01:05 +0200
From: Krzysztof Kozlowski <k.kozlowski@...sung.com>
To: Beomho Seo <beomho.seo@...sung.com>
Cc: sre@...nel.org, linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org, cw00.choi@...sung.com,
inki.dae@...sung.com, sangbae90.lee@...sung.com,
Krzysztof Kozlowski <k.kozlowski@...sung.com>
Subject: Re: [PATCH v2 1/2] power: max17042_battery: Use reg type instead of
chip type
2015-04-03 10:26 GMT+02:00 Beomho Seo <beomho.seo@...sung.com>:
> 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@...nel.org>
> Signed-off-by: Beomho Seo <beomho.seo@...sung.com>
> ---
> 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@...sung.com>
Best regards,
Krzysztof
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists