spi: s3c64xx: Remove the 'set_level' callback from controller data
authorThomas Abraham <thomas.abraham@linaro.org>
Thu, 12 Jul 2012 22:15:14 +0000 (07:15 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Fri, 13 Jul 2012 06:23:48 +0000 (15:23 +0900)
commit1c20c200ef96c50b3075f71220c8c8bc018a93c8
tree3625e8277a760ae16b0580bd6091a14ae036a9a2
parent4d0efdd5889b1c81a62aa07a47d3d55be4b65b61
spi: s3c64xx: Remove the 'set_level' callback from controller data

The set_level callback in the controller data, which is used to configure
the slave select line, cannot be supported when migrating the driver to
device tree based discovery. Since all the platforms currently use gpio
as the slave select line, this callback can be removed from the
controller data and replaced with call to gpio_set_value in the driver.

Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
Acked-by: Jaswinder Singh <jaswinder.singh@linaro.org>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/plat-samsung/include/plat/s3c64xx-spi.h
drivers/spi/spi-s3c64xx.c