summaryrefslogtreecommitdiff
path: root/drivers/input/keyboard/atkbd.c
diff options
context:
space:
mode:
authorDaniel Mack <daniel@caiaq.de>2009-07-14 05:22:49 (GMT)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2009-07-14 05:24:29 (GMT)
commitf936601471d1454dacbd3b2a961fd4d883090aeb (patch)
tree5ec6bf1a77ede0082484b8c7bd6ffbb438c3f84f /drivers/input/keyboard/atkbd.c
parentf0a14de2f82dd6aa13e04816da2091c7ed0f77cf (diff)
downloadlinux-f936601471d1454dacbd3b2a961fd4d883090aeb.tar.xz
Input: fix EVIOCGNAME/JSIOCGNAME regression
Commit 3d5cb60e ("Input: simplify name handling for certain input handles") introduced a regression for the EVIOCGNAME/JSIOCGNAME ioctl. Before this, patch, the platform device's name was given back to userspace which was good to identify devices. After this patch, the device is ("event%d", minor) which is not descriptive at all. This fixes the behaviour by taking dev->name. Reported-by: Sven Neumann <s.neumann@raumfeld.com> Signed-off-by: Daniel Mack <daniel@caiaq.de> Reviewed-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/keyboard/atkbd.c')
0 files changed, 0 insertions, 0 deletions