Commit 8ab44b40 authored by Varsha Rao's avatar Varsha Rao Committed by Greg Kroah-Hartman

drivers: char: misc: Replace printk with pr_err.

Replace printk with pr_err to fix the checkpatch issue.
Signed-off-by: default avatarVarsha Rao <rvarsha016@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5b884a95
...@@ -294,7 +294,7 @@ static int __init misc_init(void) ...@@ -294,7 +294,7 @@ static int __init misc_init(void)
return 0; return 0;
fail_printk: fail_printk:
printk("unable to get major %d for misc devices\n", MISC_MAJOR); pr_err("unable to get major %d for misc devices\n", MISC_MAJOR);
class_destroy(misc_class); class_destroy(misc_class);
fail_remove: fail_remove:
if (ret) if (ret)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment