提交 67043f41 编写于 作者: N Nick Simonov 提交者: 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: NNick Simonov <nicksimonovv@gmail.com>
Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
上级 e7330fa0
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册