diff options
author | 2016-03-20 23:29:45 -0300 | |
---|---|---|
committer | 2016-03-21 13:35:30 +0000 | |
commit | 95a293c7ba17253b8cffcacbdd716ebfbfe42587 (patch) | |
tree | 4dbb667395c24e3eb1adde35295dc497b270a351 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Merge remote-tracking branches 'regulator/topic/s5m8767' and 'regulator/topic/vexpress' into regulator-next (diff) | |
download | wireguard-linux-95a293c7ba17253b8cffcacbdd716ebfbfe42587.tar.xz wireguard-linux-95a293c7ba17253b8cffcacbdd716ebfbfe42587.zip |
regulator: Remove unneded check for regulator supply
The regulator_resolve_supply() function checks if a supply has been
associated with a regulator to avoid enabling it if that is not the
case.
But the supply was already looked up with regulator_resolve_supply()
and set with set_supply() before the check and both return on error.
So the fact that this statement has been reached means that neither
of them failed and a supply must be associated with the regulator.
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions