summaryrefslogtreecommitdiff
path: root/block/blk-lib.c
diff options
context:
space:
mode:
authorBeomho Seo <beomho.seo@samsung.com>2015-04-03 08:26:08 (GMT)
committerSebastian Reichel <sre@kernel.org>2015-04-06 15:46:27 (GMT)
commit709c2c70c8ea73f488971f1de3c39fbdac995951 (patch)
treed9e71388036e98b7e6752a813e354bc499227f31 /block/blk-lib.c
parent7be5ac2c32bd26c47a05367c0135cb6e67b3d452 (diff)
downloadlinux-709c2c70c8ea73f488971f1de3c39fbdac995951.tar.xz
power: max17042_battery: Use reg type instead of chip type
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>
Diffstat (limited to 'block/blk-lib.c')
0 files changed, 0 insertions, 0 deletions