浏览代码

macintosh/via-macii, macintosh/adb-iop: Modernize printk calls

Add missing severity level to log messages.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Finn Thain 7 年之前
父节点
当前提交
351e5ad327
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      drivers/macintosh/adb-iop.c
  2. 1 1
      drivers/macintosh/via-macii.c

+ 1 - 1
drivers/macintosh/adb-iop.c

@@ -208,7 +208,7 @@ int adb_iop_probe(void)
 
 
 int adb_iop_init(void)
 int adb_iop_init(void)
 {
 {
-	printk("adb: IOP ISM driver v0.4 for Unified ADB.\n");
+	pr_info("adb: IOP ISM driver v0.4 for Unified ADB\n");
 	iop_listen(ADB_IOP, ADB_CHAN, adb_iop_listen, "ADB");
 	iop_listen(ADB_IOP, ADB_CHAN, adb_iop_listen, "ADB");
 	return 0;
 	return 0;
 }
 }

+ 1 - 1
drivers/macintosh/via-macii.c

@@ -127,7 +127,7 @@ static int macii_probe(void)
 
 
 	via = via1;
 	via = via1;
 
 
-	printk("adb: Mac II ADB Driver v1.0 for Unified ADB\n");
+	pr_info("adb: Mac II ADB Driver v1.0 for Unified ADB\n");
 	return 0;
 	return 0;
 }
 }