aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5p64x0
diff options
context:
space:
mode:
authorPadmavathi Venna <padma.v@samsung.com>2011-11-02 07:08:57 -0400
committerKukjin Kim <kgene.kim@samsung.com>2011-12-22 20:10:46 -0500
commita153e31abb01484d0088ac28425dc98204848ad4 (patch)
tree3199daf288236296fb8f91579c48274aca4c8a7e /arch/arm/mach-s5p64x0
parent8c4b8e718c9462c1beaa7db734bf5ec0b317ac8b (diff)
ARM: SAMSUNG: Remove SPI bus clocks from platform data
SPI bus clocks can be avoided passing through platform data as spi driver is getting the bus clock using the generic clock connection id registered via clkdev. Signed-off-by: Padmavathi Venna <padma.v@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s5p64x0')
-rw-r--r--arch/arm/mach-s5p64x0/dev-spi.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-s5p64x0/dev-spi.c b/arch/arm/mach-s5p64x0/dev-spi.c
index 1fd9c79c7dbc..5b5d3c083644 100644
--- a/arch/arm/mach-s5p64x0/dev-spi.c
+++ b/arch/arm/mach-s5p64x0/dev-spi.c
@@ -25,11 +25,6 @@
25#include <plat/s3c64xx-spi.h> 25#include <plat/s3c64xx-spi.h>
26#include <plat/gpio-cfg.h> 26#include <plat/gpio-cfg.h>
27 27
28static char *s5p64x0_spi_src_clks[] = {
29 [S5P64X0_SPI_SRCCLK_PCLK] = "pclk",
30 [S5P64X0_SPI_SRCCLK_SCLK] = "sclk_spi",
31};
32
33/* SPI Controller platform_devices */ 28/* SPI Controller platform_devices */
34 29
35/* Since we emulate multi-cs capability, we do not touch the CS. 30/* Since we emulate multi-cs capability, we do not touch the CS.
@@ -220,5 +215,4 @@ void __init s5p64x0_spi_set_info(int cntrlr, int src_clk_nr, int num_cs)
220 215
221 pd->num_cs = num_cs; 216 pd->num_cs = num_cs;
222 pd->src_clk_nr = src_clk_nr; 217 pd->src_clk_nr = src_clk_nr;
223 pd->src_clk_name = s5p64x0_spi_src_clks[src_clk_nr];
224} 218}