regulator: core: Add support for active-discharge configuration
authorLaxman Dewangan <ldewangan@nvidia.com>
Wed, 2 Mar 2016 10:54:46 +0000 (16:24 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 2 Mar 2016 14:31:45 +0000 (23:31 +0900)
commit909f7ee0b5f30f735e16864a7ed18d2e6123e6d9
treed1a5c7de386afc4c23409df2dd2a3c0b505f4947
parent07a06694cb591592842b608dd3ada839503f1134
regulator: core: Add support for active-discharge configuration

Add support to enable/disable active discharge of regulator via
machine constraints. This configuration is done when setting
machine constraint during regulator register and if regulator
driver implemented the callback ops.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/core.c