]> git.baikalelectronics.ru Git - kernel.git/commit
staging/sm7xxfb: use module_pci_driver macro
authorDevendra Naga <devendra.aaru@gmail.com>
Tue, 10 Jul 2012 05:49:14 +0000 (11:19 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Jul 2012 00:26:01 +0000 (17:26 -0700)
commit38a3ddeb518f897a89163fbdc55a6e5516d099cb
tree1d4204cb30b3f4830429a5433d0ff3feea4c4ad8
parent1c2e7cb40bf17bcf94d7fbc72cd749d03336909f
staging/sm7xxfb: use module_pci_driver macro

as the manual of module_pci_driver says that
it can be used when the init and exit functions of
the module does nothing but the pci_register_driver
and pci_unregister_driver.

use it for the sm7xxfb driver, as the driver does nothing in
its _init and _exit functions but the register and unregister.

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