staging: mt7621-mmc: replace `printk` with preferred API
Replace calls to `printk` with `dev_info` and `pr_err` Issues found with checkpatch.pl Signed-off-by: Dafna Hirschfeld <dafna3@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ffa8ed13d9
commit
7b6e286c39
|
@ -1695,7 +1695,7 @@ static irqreturn_t msdc_irq(int irq, void *dev_id)
|
|||
|
||||
/* mmc irq interrupts */
|
||||
if (intsts & MSDC_INT_MMCIRQ)
|
||||
printk(KERN_INFO "msdc[%d] MMCIRQ: SDC_CSTS=0x%.8x\r\n",
|
||||
dev_info(mmc_dev(host->mmc), "msdc[%d] MMCIRQ: SDC_CSTS=0x%.8x\r\n",
|
||||
host->id, readl(host->base + SDC_CSTS));
|
||||
|
||||
return IRQ_HANDLED;
|
||||
|
@ -2131,7 +2131,7 @@ static int __init mt_msdc_init(void)
|
|||
|
||||
ret = platform_driver_register(&mt_msdc_driver);
|
||||
if (ret) {
|
||||
printk(KERN_ERR DRV_NAME ": Can't register driver");
|
||||
pr_err("%s: Can't register driver", DRV_NAME);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue