regulator: max77693: Support different register configurations
authorKrzysztof Kozlowski <k.kozlowski.k@gmail.com>
Wed, 15 Jul 2015 12:59:49 +0000 (21:59 +0900)
committerMark Brown <broonie@kernel.org>
Thu, 16 Jul 2015 20:39:29 +0000 (21:39 +0100)
commit5b5e771fb711f95da859bf6be9fba4bc9919b5d5
treecd0d623bcf9724bb2d44cf87cc8f88e64f589861
parentb3b58cee8aced52e3d7fdb387f40c782a4511198
regulator: max77693: Support different register configurations

Add support for different configurations of charger's registers so the
same driver could be used on other devices (e.g. MAX77843).

Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
Acked-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/max77693.c