Staging: frontier: Removed use of obsolete function
authorKen O'Brien <kernel@kenobrien.org>
Sun, 20 Nov 2011 00:36:11 +0000 (00:36 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 27 Nov 2011 02:13:54 +0000 (18:13 -0800)
Replaced one reference to strict_strtoul() to kstrtoul().

Signed-off-by: Ken O'Brien <kernel@kenobrien.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/frontier/tranzport.c

index 8894ab14f167755a242eda73b5465bb16aaa7b8c..0e7b4d6bb80765d2613ee053200caed287c30f7f 100644 (file)
@@ -199,7 +199,7 @@ static void usb_tranzport_abort_transfers(struct usb_tranzport *dev)
                struct usb_interface *intf = to_usb_interface(dev);     \
                struct usb_tranzport *t = usb_get_intfdata(intf);       \
                unsigned long temp;     \
-               if (strict_strtoul(buf, 10, &temp))     \
+               if (kstrtoul(buf, 10, &temp))   \
                        return -EINVAL; \
                t->value = temp;        \
                return count;   \