projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7330fa
)
Input: replace hard coded string with __func__ in pr_err()
author
Nick Simonov
<nicksimonovv@gmail.com>
Tue, 15 May 2018 17:33:52 +0000
(10:33 -0700)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Tue, 15 May 2018 19:00:53 +0000
(12:00 -0700)
Change hardcoded string "input_set_capability" in pr_err() function call,
replace it with "%s" __func__ instead.
Signed-off-by: Nick Simonov <nicksimonovv@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/input.c
patch
|
blob
|
history
diff --git
a/drivers/input/input.c
b/drivers/input/input.c
index 9785546420a7237aecffb817631d4826f052c03e..6365c19582644b83baea63d5932a696f7de7c3b9 100644
(file)
--- a/
drivers/input/input.c
+++ b/
drivers/input/input.c
@@
-1943,8
+1943,7
@@
void input_set_capability(struct input_dev *dev, unsigned int type, unsigned int
break;
default:
- pr_err("input_set_capability: unknown type %u (code %u)\n",
- type, code);
+ pr_err("%s: unknown type %u (code %u)\n", __func__, type, code);
dump_stack();
return;
}