summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmad Fatoum <ahmad@a3f.at>2019-10-01 08:24:30 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2019-10-02 08:43:55 +0200
commitcac03a8735bf1e73b2b703b9478b1813fa354487 (patch)
tree24713b0c86fd9f4084e94e32fdc119206d304859
parentff6c7c9929eba589f68c83674bccf4d53a7b805d (diff)
downloadbarebox-cac03a8735bf1e73b2b703b9478b1813fa354487.tar.gz
barebox-cac03a8735bf1e73b2b703b9478b1813fa354487.tar.xz
input: specialkeys: remove unused printk argument
Two pr_info calls have no format specifiers, but are still passed an argument. Remove the unused arguments. Signed-off-by: Ahmad Fatoum <ahmad@a3f.at> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--drivers/input/specialkeys.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/specialkeys.c b/drivers/input/specialkeys.c
index ff29b8455d..a3f2bf4e4f 100644
--- a/drivers/input/specialkeys.c
+++ b/drivers/input/specialkeys.c
@@ -13,12 +13,12 @@ static void input_specialkeys_notify(struct input_notifier *in,
{
switch (ev->code) {
case KEY_RESTART:
- pr_info("Triggering reset due to special key.\n", ev->code);
+ pr_info("Triggering reset due to special key.\n");
restart_machine();
break;
case KEY_POWER:
- pr_info("Triggering poweroff due to special key.\n", ev->code);
+ pr_info("Triggering poweroff due to special key.\n");
poweroff_machine();
break;
}