From d364f14bbe94feb0fdd015c797668e3fb6354073 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Christian=20L=C3=BCtke-Stetzkamp?= Date: Wed, 4 Apr 2018 22:15:31 +0200 Subject: [PATCH] staging: mt7621-mmc: Cleanup function mt_msdc_init MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Cleanup the mt_msdc_init function, remove excceding printk. Signed-off-by: Christian Lütke-Stetzkamp Reviewed-by: NeilBrown Signed-off-by: Greg Kroah-Hartman --- drivers/staging/mt7621-mmc/sd.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/staging/mt7621-mmc/sd.c b/drivers/staging/mt7621-mmc/sd.c index 1d689657e7b1f..d7869b6652552 100644 --- a/drivers/staging/mt7621-mmc/sd.c +++ b/drivers/staging/mt7621-mmc/sd.c @@ -2963,11 +2963,8 @@ static struct platform_driver mt_msdc_driver = { static int __init mt_msdc_init(void) { int ret; -/* +++ by chhung */ u32 reg; - printk("MTK MSDC device init.\n"); - // Set the pins for sdxc to sdxc mode //FIXME: this should be done by pinctl and not by the sd driver reg = sdr_read32((volatile u32 *)(RALINK_SYSCTL_BASE + 0x60)) & ~(0x3 << 18); @@ -2978,7 +2975,6 @@ static int __init mt_msdc_init(void) printk(KERN_ERR DRV_NAME ": Can't register driver"); return ret; } - printk(KERN_INFO DRV_NAME ": MediaTek MT6575 MSDC Driver\n"); #if defined(MT6575_SD_DEBUG) msdc_debug_proc_init(); -- 2.30.2