mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
staging: mt7621-mmc: Cleanup function mt_msdc_init
Cleanup the mt_msdc_init function, remove excceding printk. Signed-off-by: Christian Lütke-Stetzkamp <christian@lkamp.de> Reviewed-by: NeilBrown <neil@brown.name> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d3c8faef70
commit
d364f14bbe
1 changed files with 0 additions and 4 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue