Commit a75311dc authored by Ken O'Brien's avatar Ken O'Brien Committed by Greg Kroah-Hartman

Staging: frontier: Removed use of obsolete function

Replaced one reference to strict_strtoul() to kstrtoul().
Signed-off-by: default avatarKen O'Brien <kernel@kenobrien.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 67d6baa4
...@@ -199,7 +199,7 @@ static void usb_tranzport_abort_transfers(struct usb_tranzport *dev) ...@@ -199,7 +199,7 @@ static void usb_tranzport_abort_transfers(struct usb_tranzport *dev)
struct usb_interface *intf = to_usb_interface(dev); \ struct usb_interface *intf = to_usb_interface(dev); \
struct usb_tranzport *t = usb_get_intfdata(intf); \ struct usb_tranzport *t = usb_get_intfdata(intf); \
unsigned long temp; \ unsigned long temp; \
if (strict_strtoul(buf, 10, &temp)) \ if (kstrtoul(buf, 10, &temp)) \
return -EINVAL; \ return -EINVAL; \
t->value = temp; \ t->value = temp; \
return count; \ return count; \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment