aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5pc100
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-s5pc100
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-s5pc100')
-rw-r--r--arch/arm/mach-s5pc100/dev-spi.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/arm/mach-s5pc100/dev-spi.c b/arch/arm/mach-s5pc100/dev-spi.c
index e5d6c4dceb56..155f50da2d78 100644
--- a/arch/arm/mach-s5pc100/dev-spi.c
+++ b/arch/arm/mach-s5pc100/dev-spi.c
@@ -21,12 +21,6 @@
21#include <plat/gpio-cfg.h> 21#include <plat/gpio-cfg.h>
22#include <plat/irqs.h> 22#include <plat/irqs.h>
23 23
24static char *spi_src_clks[] = {
25 [S5PC100_SPI_SRCCLK_PCLK] = "pclk",
26 [S5PC100_SPI_SRCCLK_48M] = "spi_48m",
27 [S5PC100_SPI_SRCCLK_SPIBUS] = "spi_bus",
28};
29
30/* SPI Controller platform_devices */ 24/* SPI Controller platform_devices */
31 25
32/* Since we emulate multi-cs capability, we do not touch the CS. 26/* Since we emulate multi-cs capability, we do not touch the CS.
@@ -223,5 +217,4 @@ void __init s5pc100_spi_set_info(int cntrlr, int src_clk_nr, int num_cs)
223 217
224 pd->num_cs = num_cs; 218 pd->num_cs = num_cs;
225 pd->src_clk_nr = src_clk_nr; 219 pd->src_clk_nr = src_clk_nr;
226 pd->src_clk_name = spi_src_clks[src_clk_nr];
227} 220}