commit | e6345c81b4eb20850ae4078ed3a8ff6eae584283 | [log] [tgz] |
---|---|---|
author | Devendra Naga <devendra.aaru@gmail.com> | Tue Jul 10 11:19:14 2012 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jul 11 17:26:01 2012 -0700 |
tree | 1d4204cb30b3f4830429a5433d0ff3feea4c4ad8 | |
parent | aaf3ee4f80960eecccdd94a6b44b41c6af6c14d3 [diff] |
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>