commit | a550662c270eb66b373498dae0cea2456fb30e22 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Fri Dec 06 21:42:41 2019 -0700 |
committer | Bin Meng <bmeng.cn@gmail.com> | Sun Dec 15 11:44:22 2019 +0800 |
tree | 81f76ae78ff4b0540fca7e0b5c215e61ce3e4667 | |
parent | b47aa26eb91d74fc78a6aa4e57cc2f4641b42e94 [diff] |
spi: ich: Various small tidy-ups Use debug() instead of printf() to reduce code size and change a bool return value to the use the 'bool' type. Also drop the global data declaration since it not actually used. Finally, set the log category. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>