diff options
author | Bjorn Helgaas <[email protected]> | 2021-11-30 16:08:37 -0600 |
---|---|---|
committer | Andy Shevchenko <[email protected]> | 2021-12-01 15:10:25 +0200 |
commit | 82b2cd4c8caebf0b61b39daf5e0ed6be170a4ae1 (patch) | |
tree | 38b65409427791ba35b8e5e9d9cca451d8e3dd82 /tools/perf/scripts/python/sched-migration.py | |
parent | be3dc15ffe644d1b8bfae4a05eae3dc413a7c5e7 (diff) |
gpio: pch: Use .driver_data instead of checking Device IDs again
Previously, pch_gpio_probe() tested the Device ID to determine the type of
IOH. But the driver core has already matched the Device ID with one of the
IDs in the pch_gpio_pcidev_id[] table, and we can supply the IOH type there
as .driver_data.
Use the pci_device_id.driver_data to learn the IOH type instead of testing
the Device ID again.
No functional change intended.
Signed-off-by: Bjorn Helgaas <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions