summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-atmel.c
diff options
context:
space:
mode:
authorBenoit Cousson2012-03-26 12:02:33 +0200
committerGrant Likely2012-04-10 22:10:35 +0200
commit1bd897f84964c2ce3a28d11f7eb7c4e0a8d3ca3c (patch)
treeed96f4986d79d35d5f04c54ea0f494139f424288 /drivers/spi/spi-atmel.c
parentMerge branch 'spi' of git://gitorious.org/linus-tree/linus-tree into spi/next (diff)
downloadkernel-qcow2-linux-1bd897f84964c2ce3a28d11f7eb7c4e0a8d3ca3c.tar.gz
kernel-qcow2-linux-1bd897f84964c2ce3a28d11f7eb7c4e0a8d3ca3c.tar.xz
kernel-qcow2-linux-1bd897f84964c2ce3a28d11f7eb7c4e0a8d3ca3c.zip
spi/omap: Remove bus_num usage for instance index
bus_num was used to reference the mcspi controller instance in a fixed array. Remove this array and store this information directly inside drvdata structure. bus_num is now just set if the pdev->id is present or with -1 for dynamic allocation by SPI core, but the driver does not access it anymore. Clean some bad comments format, and remove un-needed space. Signed-off-by: Benoit Cousson <b-cousson@ti.com> [Cleanup the OMAP2_MCSPI_MAX_CTRL macro as it is not needed anymore] Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Diffstat (limited to 'drivers/spi/spi-atmel.c')
0 files changed, 0 insertions, 0 deletions