mmc: cavium: Use module_pci_driver to simplify the code
authorWei Yongjun <weiyongjun1@huawei.com>
Tue, 25 Apr 2017 03:14:09 +0000 (03:14 +0000)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 25 Apr 2017 06:12:05 +0000 (08:12 +0200)
commitdfc28b110d4f42953147204bc627b3c64205ed19
tree75c76962fa6fd4db6fbf4029d492889e6c980fa0
parent01d95843335c6d7bb7d100c0083165f489c6e50b
mmc: cavium: 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 <weiyongjun1@huawei.com>
Acked-by: Jan Glauber <jglauber@cavium.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/cavium-thunderx.c