From a75311dcb8aa871051e07dad5bed74d6de2a6e69 Mon Sep 17 00:00:00 2001 From: Ken O'Brien Date: Sun, 20 Nov 2011 00:36:11 +0000 Subject: Staging: frontier: Removed use of obsolete function Replaced one reference to strict_strtoul() to kstrtoul(). Signed-off-by: Ken O'Brien Signed-off-by: Greg Kroah-Hartman --- drivers/staging/frontier/tranzport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/staging/frontier/tranzport.c') diff --git a/drivers/staging/frontier/tranzport.c b/drivers/staging/frontier/tranzport.c index 8894ab14f16..0e7b4d6bb80 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; \ -- cgit v1.2.3