spi: imx: make some register defines simpler
authorSascha Hauer <s.hauer@pengutronix.de>
Wed, 24 Feb 2016 08:20:31 +0000 (09:20 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 26 Feb 2016 02:04:14 +0000 (11:04 +0900)
commitd629c2a0051f27cc17ac9dc36bbeef8174b48aae
tree24560107246a6e6fa8f5e0b2ac9fb9964a4be332
parentc34de7168cd201ab757b11bfc7899953948d7753
spi: imx: make some register defines simpler

The watermark levels in the DMA register are write only, the driver
should never have to read them back from the hardware. Replace the
current _MASK and _OFFSET defines with defines taking the watermark
level directly.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-imx.c