mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 04:31:50 +00:00
leds: leds-ss4200: use DEFINE_PCI_DEVICE_TABLE
This macro is used to create a struct pci_device_id array. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Bryan Wu <cooloney@gmail.com>
This commit is contained in:
parent
962363ceda
commit
d7789430de
@ -63,8 +63,7 @@ MODULE_LICENSE("GPL");
|
||||
/*
|
||||
* PCI ID of the Intel ICH7 LPC Device within which the GPIO block lives.
|
||||
*/
|
||||
static const struct pci_device_id ich7_lpc_pci_id[] =
|
||||
{
|
||||
static DEFINE_PCI_DEVICE_TABLE(ich7_lpc_pci_id) = {
|
||||
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH7_0) },
|
||||
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH7_1) },
|
||||
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH7_30) },
|
||||
|
Loading…
Reference in New Issue
Block a user