aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-roccat-isku.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-07-19 15:53:16 +0900
committerJiri Kosina <jkosina@suse.cz>2013-07-23 16:05:46 +0200
commitdfc450b55d6b9215da27c5dc2c5f3ca1865575a6 (patch)
tree29dc496996ac63de2f1c976890ee5999b86f7da2 /drivers/hid/hid-roccat-isku.c
parentHID: fix unused rsize usage (diff)
downloadlinux-dev-dfc450b55d6b9215da27c5dc2c5f3ca1865575a6.tar.xz
linux-dev-dfc450b55d6b9215da27c5dc2c5f3ca1865575a6.zip
HID: replace strict_strtoul() with kstrtoul()
The usage of strict_strtoul() is not preferred, because strict_strtoul() is obsolete. Thus, kstrtoul() should be used. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-roccat-isku.c')
-rw-r--r--drivers/hid/hid-roccat-isku.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-roccat-isku.c b/drivers/hid/hid-roccat-isku.c
index 8023751d5257..5dd0ea4eb4f7 100644
--- a/drivers/hid/hid-roccat-isku.c
+++ b/drivers/hid/hid-roccat-isku.c
@@ -82,7 +82,7 @@ static ssize_t isku_sysfs_set_actual_profile(struct device *dev,
isku = hid_get_drvdata(dev_get_drvdata(dev));
usb_dev = interface_to_usbdev(to_usb_interface(dev));
- retval = strict_strtoul(buf, 10, &profile);
+ retval = kstrtoul(buf, 10, &profile);
if (retval)
return retval;