summaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorAndrew Bresticker <abrestic@chromium.org>2013-04-04 15:27:47 -0700
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-04-05 10:55:22 +0100
commit0f7b87f0acc04e4f22ec5d3f2283a80993ca3aa8 (patch)
tree4019f51c686512244927049417a98b69b334262f /fs/proc/array.c
parent167d41dce7633b70aae4175fdec734e1cdd3a190 (diff)
regulator: core: don't require a supply when supply_name is specified
Regulator drivers may specify regulator_desc->supply_name which regulator_register() will use to find the supply node for a regulator. If no supply was specified in the device tree or the supply has yet to be registered regulator_register() will fail, deferring the probe of the regulator. In the case where no supply node was specified in the device tree, there is no supply and it is pointless to try and find one later, so go ahead and add the regulator without the supply. Signed-off-by: Andrew Bresticker <abrestic@chromium.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions