Commit 29c2e124 authored by Zhang Qilong's avatar Zhang Qilong Committed by Dmitry Torokhov

Input: analog - fix formatting of error code

The location of the minus sign and the error code are
linked together for better human view.
Signed-off-by: default avatarZhang Qilong <zhangqilong3@huawei.com>
Link: https://lore.kernel.org/r/20201027135020.66632-1-zhangqilong3@huawei.comSigned-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent a1b5196d
......@@ -665,7 +665,7 @@ static int analog_connect(struct gameport *gameport, struct gameport_driver *drv
int err;
if (!(port = kzalloc(sizeof(struct analog_port), GFP_KERNEL)))
return - ENOMEM;
return -ENOMEM;
err = analog_init_port(gameport, drv, port);
if (err)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment