]> Pileus Git - ~andy/linux/commit
HID: input: fix input sysfs path for hid devices
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Thu, 19 Dec 2013 16:05:13 +0000 (11:05 -0500)
committerJiri Kosina <jkosina@suse.cz>
Fri, 20 Dec 2013 22:24:40 +0000 (23:24 +0100)
commitbbe3175408cde792fbaa5bd1e41e430ea9e4fb4f
tree3f134bf0db21dcb8382023367b5b0483da7c9afc
parenta443255c3ed5688931d89adcaa640dd10e1aeef0
HID: input: fix input sysfs path for hid devices

we used to set the parent of the input device as the parent of
the hid bus. This was introduced when we created hid as a real bus, and
to keep backward compatibility. Now, it's time to proper set the parent
so that sysfs has an idea of which input device is attached to
which hid device.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-input.c