aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power/Kconfig
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@linux.intel.com>2012-04-16 04:48:41 -0400
committerAnton Vorontsov <anton.vorontsov@linaro.org>2012-05-05 08:48:17 -0400
commit34298d40e5853bc195c9db012fc1ddccac9b6f7f (patch)
tree8a5a51a1f89117815b513057b1a5fad4d380cd3f /drivers/power/Kconfig
parentd72bade76d11da661d76aec5801567d573f39fea (diff)
smb347-charger: Convert to regmap API
The smb347-charger driver does a lot of read-modify-write to the device registers. Instead of open-coding everything we can take advantage of regmap API which provides nice functions to do this kind of things. In addition there is no need for custom debugfs file for dumping registers as this is already provided by the regmap API. Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Diffstat (limited to 'drivers/power/Kconfig')
-rw-r--r--drivers/power/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig
index 0c52a4079124..2259dea525e0 100644
--- a/drivers/power/Kconfig
+++ b/drivers/power/Kconfig
@@ -291,6 +291,7 @@ config CHARGER_MAX8998
291config CHARGER_SMB347 291config CHARGER_SMB347
292 tristate "Summit Microelectronics SMB347 Battery Charger" 292 tristate "Summit Microelectronics SMB347 Battery Charger"
293 depends on I2C 293 depends on I2C
294 select REGMAP_I2C
294 help 295 help
295 Say Y to include support for Summit Microelectronics SMB347 296 Say Y to include support for Summit Microelectronics SMB347
296 Battery Charger. 297 Battery Charger.