Commit a75311dc authored by Ken O'Brien's avatar Ken O'Brien Committed by Greg Kroah-Hartman
Browse files

Staging: frontier: Removed use of obsolete function



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

Signed-off-by: default avatarKen O'Brien <kernel@kenobrien.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 67d6baa4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;	\