2015-04-03 10:26 GMT+02:00 Beomho Seo <[email protected]>: > 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 <[email protected]> > Signed-off-by: Beomho Seo <[email protected]> > --- > drivers/power/max17042_battery.c | 33 > ++++++++++---------------------- > include/linux/power/max17042_battery.h | 9 ++++++++- > 2 files changed, 18 insertions(+), 24 deletions(-)
Reviewed-by: Krzysztof Kozlowski <[email protected]> Best regards, Krzysztof -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

