staging: sm7xxfb: use module init and exit
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Sun, 8 Mar 2015 17:40:09 +0000 (23:10 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Mar 2015 12:56:03 +0000 (13:56 +0100)
commitc65434eb265393ea1741953621559c61bba56062
treea206f76bc21c1c5e8131b0d47a4351e3f92a8638
parentf3e5df43488f7c6c5e91578ec9c7fdda5cd36167
staging: sm7xxfb: use module init and exit

use module_init() and module_exit() instead of module_pci_driver
and at the same time make way for use of kernel boot parameters.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm7xxfb/sm7xxfb.c