1
0
Fork 0

drivers: char: misc: Replace printk with pr_err.

Replace printk with pr_err to fix the checkpatch issue.

Signed-off-by: Varsha Rao <rvarsha016@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
hifive-unleashed-5.1
Varsha Rao 2017-04-07 17:04:06 +05:30 committed by Greg Kroah-Hartman
parent 5b884a95a5
commit 8ab44b4003
1 changed files with 1 additions and 1 deletions

View File

@ -294,7 +294,7 @@ static int __init misc_init(void)
return 0;
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);
fail_remove:
if (ret)