Skip to content

Commit

Permalink
Staging: frontier: Removed use of obsolete function
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ken O'Brien authored and Greg Kroah-Hartman committed Nov 27, 2011
1 parent 67d6baa commit a75311d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/frontier/tranzport.c
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down

0 comments on commit a75311d

Please sign in to comment.