From: Ken O'Brien Date: Sun, 20 Nov 2011 00:36:11 +0000 (+0000) Subject: Staging: frontier: Removed use of obsolete function X-Git-Tag: v3.3-rc1~152^2~101^2~254 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a75311dcb8aa871051e07dad5bed74d6de2a6e69;p=profile%2Fivi%2Fkernel-x86-ivi.git 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 --- diff --git a/drivers/staging/frontier/tranzport.c b/drivers/staging/frontier/tranzport.c index 8894ab1..0e7b4d6 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; \