projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67d6baa
)
Staging: frontier: Removed use of obsolete function
author
Ken O'Brien
<kernel@kenobrien.org>
Sun, 20 Nov 2011 00:36:11 +0000
(
00:36
+0000)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Sun, 27 Nov 2011 02:13:54 +0000
(18:13 -0800)
Replaced one reference to strict_strtoul() to kstrtoul().
Signed-off-by: Ken O'Brien <kernel@kenobrien.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/frontier/tranzport.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/frontier/tranzport.c
b/drivers/staging/frontier/tranzport.c
index 8894ab14f167755a242eda73b5465bb16aaa7b8c..0e7b4d6bb80765d2613ee053200caed287c30f7f 100644
(file)
--- 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; \