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>
This commit is contained in:

committed by
Guenter Roeck

szülő
7fe83ad877
commit
600151b9de
@@ -777,7 +777,7 @@ static struct via686a_data *via686a_update_device(struct device *dev)
|
||||
return data;
|
||||
}
|
||||
|
||||
static const struct pci_device_id via686a_pci_ids[] = {
|
||||
static DEFINE_PCI_DEVICE_TABLE(via686a_pci_ids) = {
|
||||
{ PCI_DEVICE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C686_4) },
|
||||
{ 0, }
|
||||
};
|
||||
|
Reference in New Issue
Block a user