aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/misc/apanel.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2017-03-17 17:15:38 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2017-03-17 17:25:02 -0700
commitfef5f569db06ea80ae3a864b1ba4bda6e359311d (patch)
treeeb951c53affc91500765342ffe4ddffef21e9dc0 /drivers/input/misc/apanel.c
parentInput: soc_button_array - add support for ACPI 6.0 Generic Button Device (diff)
downloadlinux-dev-fef5f569db06ea80ae3a864b1ba4bda6e359311d.tar.xz
linux-dev-fef5f569db06ea80ae3a864b1ba4bda6e359311d.zip
Input: convert remaining uses of pr_warning to pr_warn
To enable eventual removal of pr_warning This makes pr_warn use consistent for drivers/input Prior to this patch, there were 8 uses of pr_warning and 17 uses of pr_warn in drivers/input Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/misc/apanel.c')
-rw-r--r--drivers/input/misc/apanel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/input/misc/apanel.c b/drivers/input/misc/apanel.c
index 53630afab606..aad1df04c854 100644
--- a/drivers/input/misc/apanel.c
+++ b/drivers/input/misc/apanel.c
@@ -314,7 +314,8 @@ static int __init apanel_init(void)
if (devno >= APANEL_DEV_MAX)
pr_notice(APANEL ": unknown device %u found\n", devno);
else if (device_chip[devno] != CHIP_NONE)
- pr_warning(APANEL ": duplicate entry for devno %u\n", devno);
+ pr_warn(APANEL ": duplicate entry for devno %u\n",
+ devno);
else if (method != 1 && method != 2 && method != 4) {
pr_notice(APANEL ": unknown method %u for devno %u\n",