summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-09-13 18:50:37 (GMT)
committerMark Brown <broonie@linaro.org>2013-09-16 23:30:25 (GMT)
commit4ddfebd3b0d5b65c69492408bb67fd1202104643 (patch)
tree75f540d31a044399680db0f8a8b756f733b39ffb /scripts
parent272b98c6455f00884f0350f775c5342358ebb73f (diff)
downloadlinux-4ddfebd3b0d5b65c69492408bb67fd1202104643.tar.xz
regulator: core: Provide a dummy regulator with full constraints
When a system has said that it has fully specified constraints for its regulators it is still possible that some supplies may be missing, especially if regulator support has been added to a driver after the board was integrated. We can handle such situations more gracefully by providing a dummy regulator. Unless the caller has specifically indicated that the system design may not include a given regulator by using regulator_get_optional() or that it needs its interactions to have an effect using regulator_get_exclusive() provide a dummy regulator if we can't locate a real one. The kconfig option REGULATOR_DUMMY that provided similar behaviour for all regulators has been removed, systems that need it should flag that they have full constraints instead. Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions