]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit2943b68c10585e17360c27a01f482ffbb44035c5
tree3c1e8515f2812ef4647d0fafd1fe02815efed7fe
parent870fb769128d8a98fb6bdecb6d44bf41ef8b1f8e
[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