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
..
2013-12-18 11:33:24 +10:00
2014-01-23 16:36:55 -08:00
2014-03-17 20:11:51 +01:00
2014-03-17 20:11:51 +01:00
2014-03-17 20:13:24 +01:00
2013-08-15 00:54:44 +02:00
2014-06-19 08:55:28 +02:00
2014-04-01 20:18:28 -04:00
2014-06-19 08:55:28 +02:00
2014-06-19 08:55:28 +02:00
2014-06-19 08:55:28 +02:00
2014-07-08 11:31:28 +10:00
2013-07-24 01:47:34 +02:00
2014-03-17 20:12:02 +01:00
2014-03-17 20:11:59 +01:00
2014-03-17 20:13:24 +01:00
2014-03-17 20:13:24 +01:00
2014-04-01 20:18:28 -04:00
2014-03-17 20:14:01 +01:00
2014-07-08 00:29:53 +02:00
2014-03-17 20:11:59 +01:00
2013-03-13 22:37:32 +01:00
2013-03-17 18:32:56 +01:00
2013-11-08 16:22:08 +01:00
2011-11-16 12:14:04 +00:00
2014-03-20 02:37:22 +01:00
2014-03-17 20:13:24 +01:00
2012-05-22 10:15:34 +01:00
2012-07-19 21:52:38 -04:00
2012-07-19 21:52:38 -04:00
2014-06-19 08:55:28 +02:00
2013-10-17 16:40:36 -07:00
2014-06-10 09:35:42 +10:00
2012-03-10 13:05:48 +00:00
2014-04-01 20:18:28 -04:00
2012-03-10 13:05:51 +00:00
2012-03-10 13:05:48 +00:00
2012-03-10 13:05:48 +00:00
2012-03-10 13:05:48 +00:00
2014-06-19 15:12:41 +02:00
2011-11-16 11:25:28 +00:00
2014-04-08 09:52:16 -07:00
2014-03-17 20:11:48 +01:00
2014-04-01 20:18:28 -04:00
2013-11-15 14:19:54 +09:00
2013-11-15 09:32:21 +09:00
2014-08-12 12:15:14 -06:00
2014-06-19 08:55:28 +02:00
2012-11-07 10:59:32 +10:00
2014-03-17 20:12:04 +01:00
2012-07-16 09:20:33 -07:00
2013-04-07 17:09:34 +02:00
2013-04-07 17:09:34 +02:00
2014-03-17 20:13:24 +01:00
2013-07-24 01:47:18 +02:00
2014-08-12 12:15:14 -06:00
2014-03-17 20:14:10 +01:00
2014-04-01 20:18:28 -04:00
2014-03-17 20:11:57 +01:00
2014-06-19 08:55:28 +02:00
2011-12-20 10:23:06 +00:00
2013-03-17 18:32:56 +01:00
2011-12-20 10:23:14 +00:00
2014-06-19 08:55:28 +02:00
2014-03-17 20:11:38 +01:00
2013-12-18 11:33:46 +10:00
2012-05-22 10:15:29 +01:00
2011-11-16 11:26:35 +00:00
2013-01-03 15:57:15 -08:00
2012-03-10 13:05:48 +00:00