From: Grant Likely Date: Sun, 20 May 2012 05:42:08 +0000 (-0600) Subject: spi: By default setup spi_masters with 1 chipselect and dynamics bus number X-Git-Tag: v3.5-rc1~95^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e8a52e18cfb381bc9cc1f0b720540364d2a6edd;p=pandora-kernel.git spi: By default setup spi_masters with 1 chipselect and dynamics bus number Trivial simplification. Instead of requiring spi master drivers to always set the bus number (even when a dynamic number is desired), this patch modifies spi_alloc_master() to initialize num_chipselect to 1 (because there will always be at least one CS) and bus_num to -1 for dynamic allocation. This simplifies the code needed to be written for drivers. Signed-off-by: Grant Likely --- Reading git-diff-tree failed