forked from Minki/linux
Staging: frontier: Removed use of obsolete function
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>
This commit is contained in:
parent
67d6baa401
commit
a75311dcb8
@ -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; \
|
||||
|
Loading…
Reference in New Issue
Block a user