]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: rts5208: Use pci_device_id rather than DEFINE_PCI_DEVICE_TABLE
authorBenoit Taine <benoit.taine@lip6.fr>
Mon, 19 May 2014 16:24:26 +0000 (18:24 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 17:14:31 +0000 (02:14 +0900)
commitbf5269574013772050a91ace0a137d33f1f4e4d5
tree4d0dc112916bc45967e43bd9c60de4a58d3ea90b
parent26e2fa765cd7325906ef8bbee366c74e24b3d768
staging: rts5208: Use pci_device_id rather than DEFINE_PCI_DEVICE_TABLE

This patch enhances kernel style usage for the rts5208 driver.
We should prefer `struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet
kernel coding style guidelines. This issue was reported by checkpatch.

Signed-off-by: Benoit Taine <benoit.taine@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rts5208/rtsx.c