spi/imx: get rid of more ifs depending on the used cpu
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fri, 10 Sep 2010 07:19:18 +0000 (09:19 +0200)
committerSascha Hauer <s.hauer@pengutronix.de>
Fri, 1 Oct 2010 07:32:12 +0000 (09:32 +0200)
commit1723e66b03c3d131d16f7646752c9782c66ea1ae
treedbb87a7bfe53705bdfc5a4121d7aac30b7c92897
parentf4ba6315cb77a5dcff6664ce1d66ebfe31bcc6b1
spi/imx: get rid of more ifs depending on the used cpu

Nearly everything that is needed is provided by the version of the SPI IP.
Now the only checks left using cpu_is_... are clk divider tuning on mx21/mx27
and autodetection (which will die soon).

Acked-by: Jason Wang <jason77.wang@gmail.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
drivers/spi/spi_imx.c