aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-roccat-arvo.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hid/hid-roccat-arvo.c')
-rw-r--r--drivers/hid/hid-roccat-arvo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/hid/hid-roccat-arvo.c b/drivers/hid/hid-roccat-arvo.c
index eed7f52084c5..1948208fe038 100644
--- a/drivers/hid/hid-roccat-arvo.c
+++ b/drivers/hid/hid-roccat-arvo.c
@@ -59,7 +59,7 @@ static ssize_t arvo_sysfs_set_mode_key(struct device *dev,
59 unsigned long state; 59 unsigned long state;
60 int retval; 60 int retval;
61 61
62 retval = strict_strtoul(buf, 10, &state); 62 retval = kstrtoul(buf, 10, &state);
63 if (retval) 63 if (retval)
64 return retval; 64 return retval;
65 65
@@ -109,7 +109,7 @@ static ssize_t arvo_sysfs_set_key_mask(struct device *dev,
109 unsigned long key_mask; 109 unsigned long key_mask;
110 int retval; 110 int retval;
111 111
112 retval = strict_strtoul(buf, 10, &key_mask); 112 retval = kstrtoul(buf, 10, &key_mask);
113 if (retval) 113 if (retval)
114 return retval; 114 return retval;
115 115
@@ -163,7 +163,7 @@ static ssize_t arvo_sysfs_set_actual_profile(struct device *dev,
163 unsigned long profile; 163 unsigned long profile;
164 int retval; 164 int retval;
165 165
166 retval = strict_strtoul(buf, 10, &profile); 166 retval = kstrtoul(buf, 10, &profile);
167 if (retval) 167 if (retval)
168 return retval; 168 return retval;
169 169