hwmon: use DEFINE_PCI_DEVICE_TABLE
fix all checkpatch warnings about DEFINE_PCI_DEVICE_TABLE Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
此提交包含在:
@@ -699,7 +699,7 @@ static struct sis5595_data *sis5595_update_device(struct device *dev)
|
||||
return data;
|
||||
}
|
||||
|
||||
static const struct pci_device_id sis5595_pci_ids[] = {
|
||||
static DEFINE_PCI_DEVICE_TABLE(sis5595_pci_ids) = {
|
||||
{ PCI_DEVICE(PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_503) },
|
||||
{ 0, }
|
||||
};
|
||||
|
新增問題並參考
封鎖使用者