projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
global: Convert simple_strtoul() with decimal to dectoul()
[platform/kernel/u-boot.git]
/
drivers
/
usb
/
gadget
/
epautoconf.c
diff --git
a/drivers/usb/gadget/epautoconf.c
b/drivers/usb/gadget/epautoconf.c
index
7da334f
..
01337d6
100644
(file)
--- a/
drivers/usb/gadget/epautoconf.c
+++ b/
drivers/usb/gadget/epautoconf.c
@@
-144,7
+144,7
@@
static int ep_matches(
/* report address */
if (isdigit(ep->name[2])) {
- u8 num =
simple_strtoul(&ep->name[2], NULL, 10
);
+ u8 num =
dectoul(&ep->name[2], NULL
);
desc->bEndpointAddress |= num;
#ifdef MANY_ENDPOINTS
} else if (desc->bEndpointAddress & USB_DIR_IN) {