global: Convert simple_strtoul() with decimal to dectoul()
[platform/kernel/u-boot.git] / drivers / pinctrl / nexell / pinctrl-nexell.c
index 6b01f47..20497a7 100644 (file)
@@ -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++)