diff options
author | 2018-05-15 10:33:52 -0700 | |
---|---|---|
committer | 2018-05-15 12:00:53 -0700 | |
commit | 67043f41dd1d375ae04a1f7195b398f5721dfc09 (patch) | |
tree | 996433a11c557e9022a74755c6e7f32d50ca6b4a /drivers/input | |
parent | Input: add support for ChipOne icn8505 based touchscreens (diff) | |
download | linux-67043f41dd1d375ae04a1f7195b398f5721dfc09.tar.gz linux-67043f41dd1d375ae04a1f7195b398f5721dfc09.tar.bz2 linux-67043f41dd1d375ae04a1f7195b398f5721dfc09.zip |
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 <nicksimonovv@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/input.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/input/input.c b/drivers/input/input.c index 9785546420a7..6365c1958264 100644 --- 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; } |