]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: helper: Add helper to configure active-discharge using regmap
authorLaxman Dewangan <ldewangan@nvidia.com>
Wed, 2 Mar 2016 10:54:47 +0000 (16:24 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 2 Mar 2016 14:13:05 +0000 (23:13 +0900)
commitb8ad9117bf661d1a190d84de538fedde385f3ed4
tree51a080d54afeba7ba26d46fd9b00e4e14beae6a5
parent4c6dbc3da26b179b8e42431660fb1f2bf2d00794
regulator: helper: Add helper to configure active-discharge using regmap

Add helper function to set the state of active-discharge of
regulator using regmap. The HW regulator driver can directly
use this by providing the necessary information in the regulator
descriptor.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/helpers.c
include/linux/regulator/driver.h