aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-roccat-savu.c
diff options
context:
space:
mode:
authorStefan Achatz <erazor_de@users.sourceforge.net>2012-05-20 16:45:04 -0400
committerJiri Kosina <jkosina@suse.cz>2012-06-28 04:34:01 -0400
commit7392d73be2b3c907d65126f072c313215e1907b3 (patch)
treea10a80d29a8f17e1e330e4b50db48aff468e9c3c /drivers/hid/hid-roccat-savu.c
parent4ec141ad4e470485803a98ddb250aa7df030e8df (diff)
HID: roccat: rename roccat_common functions to roccat_common2
Did this to illustrate my understanding of the firmware generations: Valo and Kone were 1st generation Arvo was externaly developed and lies in the middle All others until now are considered 2nd generation Signed-off-by: Stefan Achatz <erazor_de@users.sourceforge.net> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-roccat-savu.c')
-rw-r--r--drivers/hid/hid-roccat-savu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hid/hid-roccat-savu.c b/drivers/hid/hid-roccat-savu.c
index 19f9c47fc020..29e87d712de0 100644
--- a/drivers/hid/hid-roccat-savu.c
+++ b/drivers/hid/hid-roccat-savu.c
@@ -44,7 +44,7 @@ static ssize_t savu_sysfs_read(struct file *fp, struct kobject *kobj,
44 return -EINVAL; 44 return -EINVAL;
45 45
46 mutex_lock(&savu->savu_lock); 46 mutex_lock(&savu->savu_lock);
47 retval = roccat_common_receive(usb_dev, command, buf, real_size); 47 retval = roccat_common2_receive(usb_dev, command, buf, real_size);
48 mutex_unlock(&savu->savu_lock); 48 mutex_unlock(&savu->savu_lock);
49 49
50 return retval ? retval : real_size; 50 return retval ? retval : real_size;
@@ -64,7 +64,7 @@ static ssize_t savu_sysfs_write(struct file *fp, struct kobject *kobj,
64 return -EINVAL; 64 return -EINVAL;
65 65
66 mutex_lock(&savu->savu_lock); 66 mutex_lock(&savu->savu_lock);
67 retval = roccat_common_send_with_status(usb_dev, command, 67 retval = roccat_common2_send_with_status(usb_dev, command,
68 (void *)buf, real_size); 68 (void *)buf, real_size);
69 mutex_unlock(&savu->savu_lock); 69 mutex_unlock(&savu->savu_lock);
70 70