Re: [PATCH 5/6] staging/media/solo6x10: use module_pci_driver macro

2012-07-17 Thread Ismael Luceno
On Tue, Jul 10, 2012 at 3:45 AM, Devendra Naga wrote: > 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

Re: [PATCH 5/6] staging/media/solo6x10: use module_pci_driver macro

2012-07-17 Thread Ismael Luceno
On Tue, Jul 10, 2012 at 3:45 AM, Devendra Naga devendra.a...@gmail.com wrote: 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.

[PATCH 5/6] staging/media/solo6x10: use module_pci_driver macro

2012-07-10 Thread Devendra Naga
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 ---

[PATCH 5/6] staging/media/solo6x10: use module_pci_driver macro

2012-07-10 Thread Devendra Naga
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