summaryrefslogtreecommitdiff
path: root/doc/usage/pinmux.rst
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-07-24 18:03:35 +0300
committerTom Rini <trini@konsulko.com>2021-08-02 20:32:14 +0300
commit5a94546e1cb302842aa0f65be0bb3585fd010ccd (patch)
tree4cb611c1f330fd6d38be15e6cd13051540a2c03d /doc/usage/pinmux.rst
parentab833ef60a13b60bfa8e236ca774e91b22255a5a (diff)
downloadu-boot-5a94546e1cb302842aa0f65be0bb3585fd010ccd.tar.xz
lib: Move common digit-parsing code into a function
The code to convert a character into a digit is repeated twice in this file. Factor it out into a separate function. This also makes the code a little easier to read. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'doc/usage/pinmux.rst')
0 files changed, 0 insertions, 0 deletions