hwmon: remove DEFINE_PCI_DEVICE_TABLE macro
Don't use DEFINE_PCI_DEVICE_TABLE macro, because this macro is not preferred. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Acked-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:

committed by
Guenter Roeck

parent
3f9aec7610
commit
cd9bb0564c
@@ -204,7 +204,7 @@ static void k10temp_remove(struct pci_dev *pdev)
|
||||
&sensor_dev_attr_temp1_crit_hyst.dev_attr);
|
||||
}
|
||||
|
||||
static DEFINE_PCI_DEVICE_TABLE(k10temp_id_table) = {
|
||||
static const struct pci_device_id k10temp_id_table[] = {
|
||||
{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_10H_NB_MISC) },
|
||||
{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_11H_NB_MISC) },
|
||||
{ PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_CNB17H_F3) },
|
||||
|
Reference in New Issue
Block a user