Commit 67043f41 authored by Nick Simonov's avatar Nick Simonov Committed by Dmitry Torokhov

Input: replace hard coded string with __func__ in pr_err()

Change hardcoded string "input_set_capability" in pr_err() function call,
replace it with "%s" __func__ instead.
Signed-off-by: default avatarNick Simonov <nicksimonovv@gmail.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent e7330fa0
...@@ -1943,8 +1943,7 @@ void input_set_capability(struct input_dev *dev, unsigned int type, unsigned int ...@@ -1943,8 +1943,7 @@ void input_set_capability(struct input_dev *dev, unsigned int type, unsigned int
break; break;
default: default:
pr_err("input_set_capability: unknown type %u (code %u)\n", pr_err("%s: unknown type %u (code %u)\n", __func__, type, code);
type, code);
dump_stack(); dump_stack();
return; return;
} }
......
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