[media] staging/media/solo6x10: use module_pci_driver macro
authorDevendra Naga <devendra.aaru@gmail.com>
Tue, 10 Jul 2012 05:45:26 +0000 (02:45 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 31 Jul 2012 00:28:09 +0000 (21:28 -0300)
commitb1f093ac6807a264100b24b1a4939cff6e35c144
tree3c1e8515f2812ef4647d0fafd1fe02815efed7fe
parent1a3acd3d7f1f7ba1037cfd8c04a9159988f70079
[media] staging/media/solo6x10: use module_pci_driver macro

the driver duplicates the module_pci_driver code,
how?
module_pci_driver is used for those drivers whose
init and exit paths does only register and unregister
to pci API and nothing else.

so use the module_pci_driver macro instead

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Acked-by: Ismael Luceno <ismael.luceno@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/media/solo6x10/core.c