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)
commite696c68363740d3a8fe495e353de3ff26b86257a
tree325f52f65bca1bbcdb150ad25e7886b1016b46e8
parent5d43889c07bb38694742936aa70d1187c012e198
Input: serio - fix sysfs layout

Restore previous layout of sysfs attributes that was broken by commit
3778a2129bcce84f684cc0017ed20d2524afd289 (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