linux-stable/drivers/input
Daniel Mack f936601471 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>
2009-07-13 22:24:29 -07:00
..
gameport Input: serio - do not use deprecated dev.power.power_state 2009-05-09 16:10:18 -07:00
joystick Input: xpad - don't resend successfully sent outgoing requests 2009-07-12 22:14:25 -07:00
keyboard Input: atkbd - add forced release keys quirk for FSC Amilo Pi 3525 2009-07-12 22:16:35 -07:00
misc Input: pcspkr - switch driver to dev_pm_ops 2009-07-12 22:16:12 -07:00
mouse Input: gpio_mouse - use standard driver registration method 2009-07-07 22:47:14 -07:00
serio Input: mark serio and i8042 as suspended when hibernating too 2009-07-07 22:46:58 -07:00
tablet Input: wacom - add DTF720a support and fix rotation on Intuos3 2009-06-28 23:57:34 -07:00
touchscreen Input: ads7846 - pin change interrupt support 2009-06-11 02:07:25 -07:00
apm-power.c Input: apm-power - fix crash when unloading modules 2008-03-24 11:02:06 -04:00
evbug.c Input: struct device - replace bus_id with dev_name(), dev_set_name() 2008-10-30 09:29:05 -04:00
evdev.c Input: fix EVIOCGNAME/JSIOCGNAME regression 2009-07-13 22:24:29 -07:00
ff-core.c drivers/input/ff-core.c needs <linux/sched.h> 2008-07-02 18:40:08 -07:00
ff-memless.c Input: ff-memless - fix signed to unsigned bit overflow 2009-05-07 19:04:16 -07:00
fixp-arith.h changed email 2007-10-20 00:47:32 +02:00
input-compat.c Input: refactor evdev 32bit compat to be shareable with uinput 2008-10-27 22:03:42 -04:00
input-compat.h Input: refactor evdev 32bit compat to be shareable with uinput 2008-10-27 22:03:42 -04:00
input-polldev.c Input: remove private member from input_dev structure 2008-04-02 00:41:00 -04:00
input.c Input: multitouch - add tracking ID to the protocol 2009-05-23 09:53:18 -07:00
joydev.c Input: fix EVIOCGNAME/JSIOCGNAME regression 2009-07-13 22:24:29 -07:00
Kconfig trivial: fix typos/grammar errors in Kconfig texts 2009-03-30 15:22:01 +02:00
Makefile Input: refactor evdev 32bit compat to be shareable with uinput 2008-10-27 22:03:42 -04:00
mousedev.c Input: simplify name handling for certain input handles 2009-05-11 00:11:43 -07:00
xen-kbdfront.c get xenbus_driver ->probe() "recognized" by modpost 2008-11-30 10:03:38 -08:00