summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2012-06-19 17:43:56 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-06-19 23:22:30 +0100
commitdfad84aeab5f71b33a12e6803a809f698bdef5a2 (patch)
treefab2197c2b5931cecf6725147dc146347b543a3e /tools
parent485802a6c524e62b5924849dd727ddbb1497cc71 (diff)
regulator: support multiple dummy fixed regulators
Currently regulator_register_fixed() uses a constant name to register a fixed dummy regulator. This is sufficient in principle, since there is no reason to register multiple such regulators. The user can simply supply all consumers in one array and use it to initialise such a regulator. However, in some cases it can be convenient to register multiple such regulators. This is also a prerequisite for the upcoming patch, that will add a voltage parameter to this function. The original function is provided as a wrapper macro. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions