mmc: via-sdmmc: Use module_pci_driver
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 27 Aug 2012 06:42:11 +0000 (12:12 +0530)
committerChris Ball <cjb@laptop.org>
Tue, 4 Sep 2012 17:58:30 +0000 (13:58 -0400)
commit0d4de8f5de2a642353834b183b16b367d39ff893
tree0d5e8002054475b49221639aba4f6afcc2c1c9ab
parent350e3e00fbebf6e01855e0096b7fd41b2479e858
mmc: via-sdmmc: Use module_pci_driver

module_pci_driver makes the code simpler by eliminating
module_init and module_exit calls.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Harald Welte <laforge@gnumonks.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/via-sdmmc.c