Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <elise.lennion@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Elise Lennion and committed by
Greg Kroah-Hartman
9ab9d452 67f13aa7

+1 -1
+1 -1
drivers/staging/sm750fb/ddk750_help.c
··· 11 11 devId750 = devId; 12 12 revId750 = revId; 13 13 if (revId == 0xfe) 14 - printk("found sm750le\n"); 14 + pr_info("found sm750le\n"); 15 15 } 16 16 17 17