]> git.karo-electronics.de Git - linux-beck.git/commit
staging/sbe-2t3e3: use module_pci_driver macro
authorDevendra Naga <devendra.aaru@gmail.com>
Tue, 10 Jul 2012 06:40:04 +0000 (12:10 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Jul 2012 00:26:02 +0000 (17:26 -0700)
commit1cdb9c7c1d4846e04c28dbb41c6cef3a5e5f2b56
treeaf3aea9c40d45204bffb4589bb3c376f19759972
parent89812b1f5af666e531e4840e867edf86ed047db8
staging/sbe-2t3e3: use module_pci_driver macro

the _init and _exit functions do nothing but pci_register_driver,
and pci_unregister_driver,

so replace these and also the module _init and _exit
macros with the module_pci_driver macro.

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sbe-2t3e3/module.c