OpenCloudOS-Kernel/drivers/net/wireless/rtl818x/rtl8180
Benoit Taine 9baa3c34ac PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to
meet kernel coding style guidelines.  This issue was reported by checkpatch.

A simplified version of the semantic patch that makes this change is as
follows (http://coccinelle.lip6.fr/):

// <smpl>

@@
identifier i;
declarer name DEFINE_PCI_DEVICE_TABLE;
initializer z;
@@

- DEFINE_PCI_DEVICE_TABLE(i)
+ const struct pci_device_id i[]
= z;

// </smpl>

[bhelgaas: add semantic patch]
Signed-off-by: Benoit Taine <benoit.taine@lip6.fr>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
2014-08-12 12:15:14 -06:00
..
Makefile rtl8180: change module name in rtl818x_pci 2014-04-22 15:06:27 -04:00
dev.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
grf5101.c wireless: delete non-required instances of include <linux/init.h> 2014-01-03 15:37:01 -05:00
grf5101.h Update e-mail address for Andrea Merello (resubmit) 2013-08-26 14:10:40 -04:00
max2820.c wireless: delete non-required instances of include <linux/init.h> 2014-01-03 15:37:01 -05:00
max2820.h Update e-mail address for Andrea Merello (resubmit) 2013-08-26 14:10:40 -04:00
rtl8180.h rtl818x_pci: handle broken PIO mapping 2014-07-01 14:26:27 -04:00
rtl8225.c rtl8180: introduce functions for setting ANAPARAM 2 and 3 params 2014-03-27 14:20:08 -04:00
rtl8225.h
rtl8225se.c rtl8180: add RF code for rtl8225 zebra v4 2014-03-27 14:20:08 -04:00
rtl8225se.h rtl8180: add RF code for rtl8225 zebra v4 2014-03-27 14:20:08 -04:00
sa2400.c wireless: delete non-required instances of include <linux/init.h> 2014-01-03 15:37:01 -05:00
sa2400.h Update e-mail address for Andrea Merello (resubmit) 2013-08-26 14:10:40 -04:00