summaryrefslogtreecommitdiffstats
path: root/drivers/input/gameport
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2017-03-18 01:15:38 +0100
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2017-03-18 01:25:02 +0100
commitfef5f569db06ea80ae3a864b1ba4bda6e359311d (patch)
treeeb951c53affc91500765342ffe4ddffef21e9dc0 /drivers/input/gameport
parentInput: soc_button_array - add support for ACPI 6.0 Generic Button Device (diff)
downloadlinux-fef5f569db06ea80ae3a864b1ba4bda6e359311d.tar.xz
linux-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/gameport')
-rw-r--r--drivers/input/gameport/gameport.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/gameport/gameport.c b/drivers/input/gameport/gameport.c
index 4a2a9e370be7..092cc4188b57 100644
--- a/drivers/input/gameport/gameport.c
+++ b/drivers/input/gameport/gameport.c
@@ -385,8 +385,8 @@ static int gameport_queue_event(void *object, struct module *owner,
}
if (!try_module_get(owner)) {
- pr_warning("Can't get module reference, dropping event %d\n",
- event_type);
+ pr_warn("Can't get module reference, dropping event %d\n",
+ event_type);
kfree(event);
retval = -EINVAL;
goto out;