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

parent
7fe83ad877
commit
600151b9de
@@ -699,7 +699,7 @@ static struct platform_driver vt8231_driver = {
|
||||
.remove = __devexit_p(vt8231_remove),
|
||||
};
|
||||
|
||||
static const struct pci_device_id vt8231_pci_ids[] = {
|
||||
static DEFINE_PCI_DEVICE_TABLE(vt8231_pci_ids) = {
|
||||
{ PCI_DEVICE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_8231_4) },
|
||||
{ 0, }
|
||||
};
|
||||
|
Reference in New Issue
Block a user