diff options
author | Andy Shevchenko <[email protected]> | 2018-08-06 14:30:34 -0500 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2018-08-06 14:30:34 -0500 |
commit | 36131ce9a0b23ed6feb04f8a3ffaa44b804abd5e (patch) | |
tree | 8ccec8940b8359e955f05a2284acafdb11e6725c /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | ce397d215ccd07b8ae3f71db689aedb85d56ab40 (diff) |
PCI/ASPM: Convert to use sysfs_match_string() helper
The sysfs_match_string() helper returns index of the matching string in an
array. Use it in pcie_aspm_set_policy() to simplify the code.
Signed-off-by: Andy Shevchenko <[email protected]>
[bhelgaas: squash sysfs_match_string() fix into original patch for issue
Reported-by: Heiner Kallweit <[email protected]>]
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions