]> git.baikalelectronics.ru Git - uboot.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)
commitd9cecf72554203426a76cfa72084dc00e0fe4155
treea128861be7a49673d0011863c15bc25e910cf2be
parent6a74ddb02707b704dbbe824202c3ca2ac3bba90e
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