aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/block/mtip32xx/mtip32xx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/block/mtip32xx/mtip32xx.c b/drivers/block/mtip32xx/mtip32xx.c
index 06bc273ba289..362ce4a68582 100644
--- a/drivers/block/mtip32xx/mtip32xx.c
+++ b/drivers/block/mtip32xx/mtip32xx.c
@@ -4213,12 +4213,12 @@ static int __init mtip_init(void)
4213{ 4213{
4214 int error; 4214 int error;
4215 4215
4216 printk(KERN_INFO MTIP_DRV_NAME " Version " MTIP_DRV_VERSION "\n"); 4216 pr_info(MTIP_DRV_NAME " Version " MTIP_DRV_VERSION "\n");
4217 4217
4218 /* Allocate a major block device number to use with this driver. */ 4218 /* Allocate a major block device number to use with this driver. */
4219 error = register_blkdev(0, MTIP_DRV_NAME); 4219 error = register_blkdev(0, MTIP_DRV_NAME);
4220 if (error <= 0) { 4220 if (error <= 0) {
4221 printk(KERN_ERR "Unable to register block device (%d)\n", 4221 pr_err("Unable to register block device (%d)\n",
4222 error); 4222 error);
4223 return -EBUSY; 4223 return -EBUSY;
4224 } 4224 }
@@ -4227,7 +4227,7 @@ static int __init mtip_init(void)
4227 if (!dfs_parent) { 4227 if (!dfs_parent) {
4228 dfs_parent = debugfs_create_dir("rssd", NULL); 4228 dfs_parent = debugfs_create_dir("rssd", NULL);
4229 if (IS_ERR_OR_NULL(dfs_parent)) { 4229 if (IS_ERR_OR_NULL(dfs_parent)) {
4230 printk(KERN_WARNING "Error creating debugfs parent\n"); 4230 pr_warn("Error creating debugfs parent\n");
4231 dfs_parent = NULL; 4231 dfs_parent = NULL;
4232 } 4232 }
4233 } 4233 }