HID: roccat: use class for char device for sysfs attribute creation
authorStefan Achatz <erazor_de@users.sourceforge.net>
Fri, 26 Nov 2010 19:57:33 +0000 (19:57 +0000)
committerJiri Kosina <jkosina@suse.cz>
Sat, 8 Jan 2011 00:11:00 +0000 (01:11 +0100)
commit5012aada506cb8b570e46579077c0ec5b82ebd5d
treecf2d49567af63b16f7cdbef80ae5662938bd539c
parentc97415a72521071c235e0879f9a600014afd87b1
HID: roccat: use class for char device for sysfs attribute creation

Adding sysfs attributes to an already created device raises no userland
notification. Now the device drivers associate the devices attributes
with a class and use this for roccat event char device creation.

Signed-off-by: Stefan Achatz <erazor_de@users.sourceforge.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-roccat-kone.c
drivers/hid/hid-roccat-pyra.c
drivers/hid/hid-roccat.c
drivers/hid/hid-roccat.h