spi/imx: do not use spi_imx2_3 to name SPI_IMX_VER_2_3 function and macro
authorShawn Guo <shawn.guo@linaro.org>
Sat, 9 Jul 2011 17:16:37 +0000 (01:16 +0800)
committerGrant Likely <grant.likely@secretlab.ca>
Thu, 14 Jul 2011 19:46:10 +0000 (13:46 -0600)
commit66de757c589bedc13f503fb23df67bc86803f371
treefb130a7aa3d35f3f7c817e2ce4ee98cab56db6f8
parent3451fb15635d11c52a2ba4d3f1ae3a6b4c265070
spi/imx: do not use spi_imx2_3 to name SPI_IMX_VER_2_3 function and macro

It's confusing to use spi_imx2_3 to name SPI_IMX_VER_2_3 function
and macro, as it easily make people think of imx2 and imx3.  It's
better to use specific soc name just like what other SPI_IMX_VER
do.  For SPI_IMX_VER_2_3 case, it will be mx51.  To distinguish it
from CSPI on mx51, mx51_ecspi might be a good choice.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Cc: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/spi-imx.c