commit | 9f3d614e4578bdec2b60d97caec400b28d4af9d3 | [log] [tgz] |
---|---|---|
author | Pali Rohár <pali@kernel.org> | Sat Mar 30 11:06:25 2024 +0100 |
committer | Martin Mares <mj@ucw.cz> | Fri Apr 05 13:14:07 2024 +0200 |
tree | ee3e1048fa3595fc6af032d4417f51f2b49b0830 | |
parent | 4b4ea003ef812f098d6ad7052792261248959a1c [diff] |
libpci: hwdb: Remove ID_SUBSYSTEM and ID_GEN_SUBSYSTEM usage from pci_id_hwdb_lookup() Currently used udev hwdb key "ID_MODEL_FROM_DATABASE" does not return subsystem, but returns device name. There is no udev hwdb key which returns subsystem or generic subsystem. So remove ID_SUBSYSTEM and ID_GEN_SUBSYSTEM from pci_id_hwdb_lookup(). This change fixes issue that pci_id_hwdb_lookup() as subsystem name always returned device name.