From: Elise Lennion Date: Sun, 9 Oct 2016 01:40:24 +0000 (-0300) Subject: staging: sm750fb: Replace printk() with pr_info(). X-Git-Tag: v4.10-rc1~148^2~733 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9ab9d4529a612fde4f196d445b7547dd6d6a64ed;p=karo-tx-linux.git staging: sm750fb: Replace printk() with pr_info(). Fix checkpatch warning: WARNING: printk() should include KERN_ facility level New checkpatch warning appears after including KERN_ facility level. Fix checkpatch warning: WARNING: Prefer [subsystem eg: netdev]_info([subsystem]dev, ... then dev_info(dev, ... then pr_info(... to printk(KERN_INFO ... Signed-off-by: Elise Lennion Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/sm750fb/ddk750_help.c b/drivers/staging/sm750fb/ddk750_help.c index 9637dd30d037..e72a29c8602e 100644 --- a/drivers/staging/sm750fb/ddk750_help.c +++ b/drivers/staging/sm750fb/ddk750_help.c @@ -11,7 +11,7 @@ void ddk750_set_mmio(void __iomem *addr, unsigned short devId, char revId) devId750 = devId; revId750 = revId; if (revId == 0xfe) - printk("found sm750le\n"); + pr_info("found sm750le\n"); }