Commit d7789430de0865a55496213d6af2a870069c4dac

Authored by Jingoo Han
Committed by Bryan Wu
1 parent 962363ceda

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>

Showing 1 changed file with 1 additions and 2 deletions Side-by-side Diff

drivers/leds/leds-ss4200.c
... ... @@ -63,8 +63,7 @@
63 63 /*
64 64 * PCI ID of the Intel ICH7 LPC Device within which the GPIO block lives.
65 65 */
66   -static const struct pci_device_id ich7_lpc_pci_id[] =
67   -{
  66 +static DEFINE_PCI_DEVICE_TABLE(ich7_lpc_pci_id) = {
68 67 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH7_0) },
69 68 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH7_1) },
70 69 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH7_30) },