Staging: rts5208: Use module_pci_driver
authorVaishali Thakkar <vthakkar1994@gmail.com>
Thu, 12 Mar 2015 12:06:15 +0000 (17:36 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Mar 2015 15:17:31 +0000 (16:17 +0100)
commiteb7403756fb68e4509cfdde3e3d7ba0576e0abf0
tree0bb6686301f73ad8bd7bbeebe72e0276ab386f95
parent5cc8c56841f28a08c93a63d166530eef82f11073
Staging: rts5208: Use module_pci_driver

Macro module_pci_driver is used for drivers whose init
and exit paths does only register and unregister to pci
API. So, here remove some boilerplate code by using
module_pci_driver. Also, change driver to rtsx_driver,
to avoid implicitly redefining driver_init.

Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rts5208/rtsx.c