From: Shawn Guo Date: Sat, 9 Jul 2011 17:16:39 +0000 (+0800) Subject: spi/imx: use soc name in spi device type naming scheme X-Git-Tag: v3.1-rc1~312^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04ee585495a6d474d1ff9a821b52abf7db99cad3;p=pandora-kernel.git spi/imx: use soc name in spi device type naming scheme Software defined version number is not stable enough to be used in device type naming scheme. The patch changes it to use implicit soc name for spi device type definition. In this way, we can easily align the naming scheme with device tree binding, which comes later. It removes fifosize from spi_imx_data and adds devtype there, so that fifosize can be set in an inline function according to devtype. Also, cpu_is_mx can be replaced by inline functions checking devtype. Signed-off-by: Shawn Guo Cc: Uwe Kleine-König Cc: Sascha Hauer Cc: Grant Likely Signed-off-by: Grant Likely --- Reading git-diff-tree failed