Staging: frontier: Removed use of obsolete function
PATCH 1/1 Staging: frontier: Removed use of obsolete function
Replaced one reference to strict_strtoul() to kstrtoul().
Signed-off-by Ken O'Brien <[email protected]>
--- drivers/staging/frontier/tranzport.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/staging/frontier/tranzport.c +1 -1
@@ -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; \
Signature · 1 line
1.7.5.4