mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
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: Nick Simonov <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
This commit is contained in:
parent
e7330fa032
commit
67043f41dd
1 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue