staging: panel: Use pr_info(...) rather than printk(KERN_INFO
-Added pr_fmt. -Converted printk(KERN_INFO to pr_info -Removed embedded message prefixes. Signed-off-by: Toshiaki Yamane <yamanetoshi@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
eb073a9bf2
commit
493aa896cb
@ -34,6 +34,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
|
||||||
|
|
||||||
#include <linux/module.h>
|
#include <linux/module.h>
|
||||||
|
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
@ -2279,11 +2281,11 @@ int panel_init(void)
|
|||||||
register_reboot_notifier(&panel_notifier);
|
register_reboot_notifier(&panel_notifier);
|
||||||
|
|
||||||
if (pprt)
|
if (pprt)
|
||||||
printk(KERN_INFO "Panel driver version " PANEL_VERSION
|
pr_info("driver version " PANEL_VERSION
|
||||||
" registered on parport%d (io=0x%lx).\n", parport,
|
" registered on parport%d (io=0x%lx).\n", parport,
|
||||||
pprt->port->base);
|
pprt->port->base);
|
||||||
else
|
else
|
||||||
printk(KERN_INFO "Panel driver version " PANEL_VERSION
|
pr_info("driver version " PANEL_VERSION
|
||||||
" not yet registered\n");
|
" not yet registered\n");
|
||||||
/* tells various subsystems about the fact that initialization
|
/* tells various subsystems about the fact that initialization
|
||||||
is finished */
|
is finished */
|
||||||
|
Loading…
Reference in New Issue
Block a user