From: Uwe Kleine-König Date: Thu, 9 Sep 2010 19:02:02 +0000 (+0200) Subject: ARM: imx: change the way spi-imx devices are registered X-Git-Tag: v2.6.37-rc1~184^2~5^2~5^2~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35bab0589b9a71533b37280eefa430c21dc102fe;p=pandora-kernel.git ARM: imx: change the way spi-imx devices are registered Group soc specific data in a global struct instead of repeating it for each call to imxXX_add_spi_imxX. The structs holding the actual data are placed in .init.constdata and so don't do much harm. Compared to the previous approach this reduces code size to call imx_add_spi_imx. Acked-by: Jason Wang Acked-by: Grant Likely Signed-off-by: Uwe Kleine-König --- Reading git-diff-tree failed