Bjorn Helgaas 82b2cd4c8c 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 <bhelgaas@google.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
2021-12-01 15:10:25 +02:00
..
2020-07-20 15:34:59 +02:00
2021-04-14 10:19:22 +01:00
2021-09-07 12:27:27 -07:00
2018-05-16 14:35:24 +02:00
2020-01-15 11:24:19 +01:00
2021-05-05 16:07:41 +02:00
2019-09-03 16:04:19 +02:00
2021-11-08 11:55:21 -08:00
2021-09-07 12:27:27 -07:00
2021-09-07 12:27:27 -07:00
2021-09-07 12:27:27 -07:00
2019-11-07 09:27:48 +01:00
2021-09-28 16:10:42 -07:00
2020-12-09 15:17:24 +01:00
2021-08-29 21:19:50 +02:00
2021-11-08 11:55:21 -08:00
2021-11-04 16:34:29 +01:00
2019-12-09 10:40:18 +01:00
2020-12-09 15:17:24 +01:00
2021-11-04 16:34:29 +01:00