aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igb
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2018-08-06 14:30:34 -0500
committerBjorn Helgaas <bhelgaas@google.com>2018-08-06 14:30:34 -0500
commit36131ce9a0b23ed6feb04f8a3ffaa44b804abd5e (patch)
tree8ccec8940b8359e955f05a2284acafdb11e6725c /drivers/net/ethernet/intel/igb
parentLinux 4.18-rc1 (diff)
downloadlinux-dev-36131ce9a0b23ed6feb04f8a3ffaa44b804abd5e.tar.xz
linux-dev-36131ce9a0b23ed6feb04f8a3ffaa44b804abd5e.zip
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 <andriy.shevchenko@linux.intel.com> [bhelgaas: squash sysfs_match_string() fix into original patch for issue Reported-by: Heiner Kallweit <hkallweit1@gmail.com>] Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/net/ethernet/intel/igb')
0 files changed, 0 insertions, 0 deletions