aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-roccat-lua.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hid/hid-roccat-lua.c')
-rw-r--r--drivers/hid/hid-roccat-lua.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-roccat-lua.c b/drivers/hid/hid-roccat-lua.c
index 6adc0fa08d96..65e2e76bf2fe 100644
--- a/drivers/hid/hid-roccat-lua.c
+++ b/drivers/hid/hid-roccat-lua.c
@@ -61,7 +61,7 @@ static ssize_t lua_sysfs_write(struct file *fp, struct kobject *kobj,
61 return -EINVAL; 61 return -EINVAL;
62 62
63 mutex_lock(&lua->lua_lock); 63 mutex_lock(&lua->lua_lock);
64 retval = roccat_common2_send(usb_dev, command, (void *)buf, real_size); 64 retval = roccat_common2_send(usb_dev, command, buf, real_size);
65 mutex_unlock(&lua->lua_lock); 65 mutex_unlock(&lua->lua_lock);
66 66
67 return retval ? retval : real_size; 67 return retval ? retval : real_size;