mmc: toshsd: use module_pci_driver to simplify the code
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 9 Dec 2014 01:08:05 +0000 (09:08 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 19 Jan 2015 08:56:07 +0000 (09:56 +0100)
commit1818681cda4a1cd23a6c7582db2874b680fac6d4
treedaa2c8f9469de13793b75b0714d274c6f111df73
parent304f0a98d168563b5f69c53a7544c36e6d221ac4
mmc: toshsd: 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.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/toshsd.c