2015-04-03 10:26 GMT+02:00 Beomho Seo <beomho....@samsung.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 <s...@kernel.org> > Signed-off-by: Beomho Seo <beomho....@samsung.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.kozlow...@samsung.com> Best regards, Krzysztof -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/