summaryrefslogtreecommitdiff
path: root/drivers/staging/frontier
diff options
context:
space:
mode:
authorKen O'Brien <kernel@kenobrien.org>2011-11-20 04:36:11 +0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-11-27 06:13:54 +0400
commita75311dcb8aa871051e07dad5bed74d6de2a6e69 (patch)
tree28ef6b33a6a5fc69062ea3819e94ee51d284e93b /drivers/staging/frontier
parent67d6baa401e2485f6d12658b836befe1df247a04 (diff)
downloadlinux-a75311dcb8aa871051e07dad5bed74d6de2a6e69.tar.xz
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>
Diffstat (limited to 'drivers/staging/frontier')
-rw-r--r--drivers/staging/frontier/tranzport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/frontier/tranzport.c b/drivers/staging/frontier/tranzport.c
index 8894ab14f167..0e7b4d6bb807 100644
--- a/drivers/staging/frontier/tranzport.c
+++ b/drivers/staging/frontier/tranzport.c
@@ -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; \