spi: mediatek: use BIT() to instead of SPI_CMD_*_OFFSET
authorLeilk Liu <leilk.liu@mediatek.com>
Thu, 20 Aug 2015 09:19:08 +0000 (17:19 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 20 Aug 2015 18:16:12 +0000 (11:16 -0700)
commita71d6ea6d3ec3e8ba4220370f29531903e3bc153
treefb05c1b144b607e00532763d47961b0c07132a2b
parentaf57937e862370c14b7d71d15d969593ffca1ba8
spi: mediatek: use BIT() to instead of SPI_CMD_*_OFFSET

This patch removes SPI_CMD_*_OFFSET defines, and uses the BIT(x)
defines instead.

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