[PATCH v2 08/14] lib: Move common digit-parsing code into a function

Tom Rini trini at konsulko.com
Mon Aug 2 19:51:59 CEST 2021


On Sat, Jul 24, 2021 at 09:03:35AM -0600, Simon Glass wrote:

> 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 at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210802/cd181ca5/attachment.sig>


More information about the U-Boot mailing list