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
/
pinctrl
/
nexell
/
pinctrl-nexell.c
diff --git
a/drivers/pinctrl/nexell/pinctrl-nexell.c
b/drivers/pinctrl/nexell/pinctrl-nexell.c
index
6b01f47
..
20497a7
100644
(file)
--- a/
drivers/pinctrl/nexell/pinctrl-nexell.c
+++ b/
drivers/pinctrl/nexell/pinctrl-nexell.c
@@
-34,7
+34,7
@@
unsigned long pin_to_bank_base(struct udevice *dev, const char *pin_name,
idx++;
}
bank[idx] = '\0';
- *pin = (u32)
simple_strtoul(&pin_name[++idx], NULL, 10
);
+ *pin = (u32)
dectoul(&pin_name[++idx], NULL
);
/* lookup the pin bank data using the pin bank name */
for (idx = 0; idx < nr_banks; idx++)