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>
Showing
- drivers/hid/hid-roccat-kone.c 127 additions, 171 deletionsdrivers/hid/hid-roccat-kone.c
- drivers/hid/hid-roccat-pyra.c 74 additions, 199 deletionsdrivers/hid/hid-roccat-pyra.c
- drivers/hid/hid-roccat.c 5 additions, 12 deletionsdrivers/hid/hid-roccat.c
- drivers/hid/hid-roccat.h 3 additions, 2 deletionsdrivers/hid/hid-roccat.h
Loading
Please register or sign in to comment