]> Pileus Git - ~andy/linux/blobdiff - drivers/hid/hid-roccat-kovaplus.c
usb/core/devio.c: Don't reject control message to endpoint with wrong direction bit
[~andy/linux] / drivers / hid / hid-roccat-kovaplus.c
index 8a0f2993411f11e5e9d077a47ed28bd13f02d1e0..515bc03136c0c6497b2ada738f6f8a10f7368311 100644 (file)
@@ -295,7 +295,7 @@ static ssize_t kovaplus_sysfs_set_actual_profile(struct device *dev,
        kovaplus = 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;