Skip to contentSkip to conversation

Staging: frontier: Removed use of obsolete function

PATCH New Ken O'Brien 1 participant 1 message Nov 20, 2011 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: frontier: Removed use of obsolete function

Replaced one reference to strict_strtoul() to kstrtoul().

---
 drivers/staging/frontier/tranzport.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/staging/frontier/tranzport.c +1 -1
index 8894ab1..0e7b4d6 100644
@@ -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