aboutsummaryrefslogtreecommitdiff
path: root/include/linux/regulator
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2012-01-02 13:08:45 +0530
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-01-02 11:36:02 +0000
commitb2296bd43e781976743354c668a356b0df98e1da (patch)
tree2f440014a55bc7b10205b0c18644a516db79f41d /include/linux/regulator
parent4fef21eaacb9d739f0120c930c78dac4f6875b9f (diff)
regulator: Enable supply regulator if child rail is enabled.
During regulator_register, the rail is set on the provided machine constraints and if it is enabled then it is also require to enable the supply regulator. This will make sure that: 1. Proper reference count for supply regulator to be maintain. 2. Supply regulator should be enable when given rail is enabled. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux/regulator')
0 files changed, 0 insertions, 0 deletions