linux-stable/drivers/gpu/drm/ast
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
..
ast_dp501.c drm/ast: initial DP501 support (v0.2) 2014-05-19 11:13:57 +10:00
ast_dram_tables.h
ast_drv.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
ast_drv.h drm/ttm: Fix a few sparse warnings 2014-07-22 10:58:21 +10:00
ast_fb.c drm: Introduce drm_fb_helper_prepare() 2014-07-08 11:31:28 +10:00
ast_main.c Merge branch 'ast-updates' of ssh://people.freedesktop.org/~/linux into drm-next 2014-05-19 11:15:08 +10:00
ast_mode.c drm/ast: use helpers 2014-07-18 14:24:21 +10:00
ast_post.c drm: Remove spurious ';' 2014-06-10 09:35:42 +10:00
ast_tables.h drm/ast: add widescreen + rb modes from X.org driver (v2) 2014-05-19 11:13:55 +10:00
ast_ttm.c drm: init TTM dev_mapping in ttm_bo_device_init() 2014-03-16 12:23:42 +01:00
Kconfig drm: Add separate Kconfig option for fbdev helpers 2013-10-11 23:36:58 +02:00
Makefile drm/ast: initial DP501 support (v0.2) 2014-05-19 11:13:57 +10:00