]> git.dujemihanovic.xyz Git - u-boot.git/commit
ide: Simplify expressions and hex values
authorSimon Glass <sjg@chromium.org>
Tue, 25 Apr 2023 16:54:54 +0000 (10:54 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 27 Apr 2023 17:51:07 +0000 (13:51 -0400)
commit79543e61c6c2dd39cd4e37a82dd674b3d65b86f1
treea128861be7a49673d0011863c15bc25e910cf2be
parent692bccb14d370ff9f999d35e7a43adae293c17c7
ide: Simplify expressions and hex values

The code has quite a few unnecessary brackets and comparisons to zero,
etc. Fix these up as well as some upper-case hex values and use of 0x in
printf() strings.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/block/ide.c