spi: ich: Various small tidy-ups
authorSimon Glass <sjg@chromium.org>
Sat, 7 Dec 2019 04:42:41 +0000 (21:42 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 15 Dec 2019 03:44:22 +0000 (11:44 +0800)
commita550662c270eb66b373498dae0cea2456fb30e22
tree81f76ae78ff4b0540fca7e0b5c215e61ce3e4667
parentb47aa26eb91d74fc78a6aa4e57cc2f4641b42e94
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>
drivers/spi/ich.c