spi: mediatek: remove mtk_spi_config
authorLeilk Liu <leilk.liu@mediatek.com>
Mon, 26 Oct 2015 08:09:41 +0000 (16:09 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 27 Oct 2015 04:33:41 +0000 (13:33 +0900)
commit79b5d3f24dcec547ea5db7d2e0b557a36f92b16b
treeea920f9a432e76ec0f2961ccd1384d4165ed3ddd
parenteca3a1ee8dd7ec5819bd77d598044eb6ecdf4495
spi: mediatek: remove mtk_spi_config

mtk_spi_config() and mtk_spi_prepare_message() both initialize
spi register, so remove mtk_spi_config() and init all register
in mtk_spi_prepare_message().

Signed-off-by: Leilk Liu <leilk.liu@mediatek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-mt65xx.c