diff options
author | Daniel Mack <[email protected]> | 2009-07-13 22:22:49 -0700 |
---|---|---|
committer | Dmitry Torokhov <[email protected]> | 2009-07-13 22:24:29 -0700 |
commit | f936601471d1454dacbd3b2a961fd4d883090aeb (patch) | |
tree | 5ec6bf1a77ede0082484b8c7bd6ffbb438c3f84f /net/lapb/lapb_subr.c | |
parent | f0a14de2f82dd6aa13e04816da2091c7ed0f77cf (diff) |
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 <[email protected]>
Signed-off-by: Daniel Mack <[email protected]>
Reviewed-by: Thadeu Lima de Souza Cascardo <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions