commit | d500dd8c24efd4394ff052d1d520e841f45dfaba | [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 | e87e87badd1aa5cc3ce7d3a25495b0ef14ba2dc8 [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>