HID: roccat: reduce number of functions in kone and pyra drivers
authorStefan Achatz <erazor_de@users.sourceforge.net>
Fri, 26 Nov 2010 19:57:38 +0000 (19:57 +0000)
committerJiri Kosina <jkosina@suse.cz>
Sat, 8 Jan 2011 00:11:33 +0000 (01:11 +0100)
commit14a057f80f0c4d45a9e68009f8bcb6b246e87ca0
tree1adbc9becbf3362b69891c5b096d494749e73852
parentbd3a2b96631dd86b06dca96aef00790084a11e15
HID: roccat: reduce number of functions in kone and pyra drivers

The profile number is now passed via bin_attribute->private instead
of function parameter to reduce number of functions.

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