spi: ich: Some clean up
authorBin Meng <bmeng.cn@gmail.com>
Mon, 1 Feb 2016 09:40:36 +0000 (01:40 -0800)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 5 Feb 2016 04:47:20 +0000 (12:47 +0800)
commit9eb4339ba45fc7147b013c8e8d579ebc6d8d1bdb
tree7a9b2cfaaf1b144311edb4b9704653e0ff16776d
parentf7c3638c9f6a9beb812adcfb7c61e4c65ac1888d
spi: ich: Some clean up

This cleans up the ich spi driver a little bit:
- Remove struct ich_spi_slave that is not referenced anywhere
- Remove ending period in some comments
- Move struct ich_spi_platdata and struct ich_spi_priv to ich.h
- Add #ifndef _ICH_H_ .. in ich.h

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jagan Teki <jteki@openedev.com>
drivers/spi/ich.c
drivers/spi/ich.h