aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorRui Miguel Silva <[email protected]>2016-08-26 11:52:05 +0100
committerGreg Kroah-Hartman <[email protected]>2016-08-26 13:16:11 +0200
commit6ac9166d4e91a6dea03b64b64f128e0f927aa7ec (patch)
treeabad7e484d3962ab440cffb570eebc88de27ddce /tools/perf/scripts/python/call-graph-from-postgresql.py
parentcc43368a3cde151739ad20cbf71139530bd53f1a (diff)
greybus: power_supply: fix name setting location
We were checking for existing power supply names in the wrong place, i.e, we were checking before any of the module power supply were registered, because of that of course no name collision was detected. Move the check to the register loop and with that we guarantee that this mechanism works for greybus power supply naming. Tested: using gbsim and using power supply with the same name and check that: 1. no problems creating sysfs entries; 2. naming is done following the desired rules. Signed-off-by: Rui Miguel Silva <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions