diff options
author | Frans Meulenbroeks <fransmeulenbroeks@gmail.com> | 2012-01-05 13:50:17 -0500 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2012-03-18 21:26:29 -0400 |
commit | 600151b9de97bd580f9dc09199a10f0c2b65cb97 (patch) | |
tree | 9b8e9c962df0cc4c143697f2025ecf6587a79b97 /drivers/hwmon/vt8231.c | |
parent | 7fe83ad877321f44c8141b8334bd2f6614deb739 (diff) |
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>
Diffstat (limited to 'drivers/hwmon/vt8231.c')
-rw-r--r-- | drivers/hwmon/vt8231.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/vt8231.c b/drivers/hwmon/vt8231.c index db3b2e8d2a67..11d6a39d2b9e 100644 --- a/drivers/hwmon/vt8231.c +++ b/drivers/hwmon/vt8231.c | |||
@@ -699,7 +699,7 @@ static struct platform_driver vt8231_driver = { | |||
699 | .remove = __devexit_p(vt8231_remove), | 699 | .remove = __devexit_p(vt8231_remove), |
700 | }; | 700 | }; |
701 | 701 | ||
702 | static const struct pci_device_id vt8231_pci_ids[] = { | 702 | static DEFINE_PCI_DEVICE_TABLE(vt8231_pci_ids) = { |
703 | { PCI_DEVICE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_8231_4) }, | 703 | { PCI_DEVICE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_8231_4) }, |
704 | { 0, } | 704 | { 0, } |
705 | }; | 705 | }; |