]> git.baikalelectronics.ru Git - kernel.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)
commit1f8dd66f929955846363362157220a787a98df96
treeaf3aea9c40d45204bffb4589bb3c376f19759972
parent2f3896ef6e37f445a1375c43a988e5e29588dc4c
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