[PATCH -next] mmc: toshsd: use module_pci_driver to simplify the code

2014-12-08 Thread weiyj_lk
From: Wei Yongjun Use the module_pci_driver() macro to make the code simpler by eliminating module_init and module_exit calls. Signed-off-by: Wei Yongjun --- drivers/mmc/host/toshsd.c | 13 + 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/drivers/mmc/host/toshsd.c b/

[PATCH] mmc: au1xmmc: fix error return code in au1xmmc_probe()

2014-08-13 Thread weiyj_lk
From: Wei Yongjun Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Signed-off-by: Wei Yongjun --- drivers/mmc/host/au1xmmc.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/host/au1xmmc.c b/dr