HID: replace strict_strtoul() with kstrtoul()
[deliverable/linux.git] / drivers / hid / hid-magicmouse.c
index 5bc37343eb22b3de7f3cca6163c6f1fd9a10dd4b..a32f5a24b27ceadcdfe33e05a8fe9715eed4d38a 100644 (file)
@@ -36,7 +36,7 @@ MODULE_PARM_DESC(emulate_scroll_wheel, "Emulate a scroll wheel");
 static unsigned int scroll_speed = 32;
 static int param_set_scroll_speed(const char *val, struct kernel_param *kp) {
        unsigned long speed;
-       if (!val || strict_strtoul(val, 0, &speed) || speed > 63)
+       if (!val || kstrtoul(val, 0, &speed) || speed > 63)
                return -EINVAL;
        scroll_speed = speed;
        return 0;
This page took 0.024547 seconds and 5 git commands to generate.