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. Signed-off-by: Beomho Seo <beomho.seo@samsung.com> Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Sebastian Reichel <sre@kernel.org> |
||
|---|---|---|
| .. | ||
| ab8500.h | ||
| bq27x00_battery.h | ||
| bq2415x_charger.h | ||
| bq24190_charger.h | ||
| bq24735-charger.h | ||
| charger-manager.h | ||
| generic-adc-battery.h | ||
| gpio-charger.h | ||
| isp1704_charger.h | ||
| jz4740-battery.h | ||
| max8903_charger.h | ||
| max17042_battery.h | ||
| sbs-battery.h | ||
| smartreflex.h | ||
| smb347-charger.h | ||
| twl4030_madc_battery.h | ||