projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b884a9
)
drivers: char: misc: Replace printk with pr_err.
author
Varsha Rao
<rvarsha016@gmail.com>
Fri, 7 Apr 2017 11:34:06 +0000
(17:04 +0530)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sat, 8 Apr 2017 15:53:06 +0000
(17:53 +0200)
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>
drivers/char/misc.c
patch
|
blob
|
history
diff --git
a/drivers/char/misc.c
b/drivers/char/misc.c
index
1312e29
..
c9cd1ea
100644
(file)
--- a/
drivers/char/misc.c
+++ b/
drivers/char/misc.c
@@
-294,7
+294,7
@@
static int __init misc_init(void)
return 0;
fail_printk:
- pr
intk
("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)