diff options
author | 2017-02-14 17:31:03 +0200 | |
---|---|---|
committer | 2017-02-16 12:44:58 +0000 | |
commit | e42a46b6f52473661ad192f76a128a68fe301df4 (patch) | |
tree | 7acfe205c917b10dbf77f3616cb6f5f4de6d37e0 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | Merge remote-tracking branches 'regulator/topic/tps65086' and 'regulator/topic/twl' into regulator-next (diff) | |
download | wireguard-linux-e42a46b6f52473661ad192f76a128a68fe301df4.tar.xz wireguard-linux-e42a46b6f52473661ad192f76a128a68fe301df4.zip |
regulator: Fix regulator_summary for deviceless consumers
It is allowed to call regulator_get with a NULL dev argument
(_regulator_get explicitly checks for it) but this causes an error later
when printing /sys/kernel/debug/regulator_summary.
Fix this by explicitly handling "deviceless" consumers in the debugfs code.
Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions