]> git.baikalelectronics.ru Git - kernel.git/commit
Input: serio - fix sysfs layout
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 7 Dec 2013 15:13:56 +0000 (07:13 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 10 Dec 2013 06:23:26 +0000 (22:23 -0800)
commit0d138bb2b3221c2c73081b6045a34d7038e8c185
tree325f52f65bca1bbcdb150ad25e7886b1016b46e8
parent18cf75aaf82c69f0ae41398472182c6e6379c7dc
Input: serio - fix sysfs layout

Restore previous layout of sysfs attributes that was broken by commit
83892640abd4497e398899ae7090dd0241d7b586 (input: serio: remove bus usage of
dev_attrs) which moved all serio device attributes into 'id' group, when
only 'type', 'proto', 'id', and 'extra' should be in 'id' group and the
rest of attributes should be attached directly to the device.

Reported-by: Thomas Hellstrom <thellstrom@vmware.com>
Tested-by: Thomas Hellstrom <thellstrom@vmware.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/serio/serio.c