staging: sm750fb: Replace printk() with pr_info().
authorElise Lennion <elise.lennion@gmail.com>
Sun, 9 Oct 2016 01:40:24 +0000 (22:40 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Oct 2016 08:24:50 +0000 (10:24 +0200)
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 <elise.lennion@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/ddk750_help.c

index 9637dd3..e72a29c 100644 (file)
@@ -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");
 }