serial: 8250_pci: use module_pci_driver to simplify the code
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Fri, 26 Oct 2012 15:04:22 +0000 (23:04 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 Oct 2012 21:04:52 +0000 (14:04 -0700)
commit15a12e83da812e9116577d46b048923587da5000
treef61236e05c6f0fe7b0634bef618717814e43a6ee
parent669fef464468d3f02d60a5cf725fc097e03c5cb8
serial: 8250_pci: use module_pci_driver to simplify the code

Use the module_pci_driver() macro to make the code simpler
by eliminating module_init and module_exit calls.

dpatch engine is used to auto generate this patch.
(https://github.com/weiyj/dpatch)

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_pci.c