summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5pv210
diff options
context:
space:
mode:
authorPadmavathi Venna <padma.v@samsung.com>2011-11-02 20:08:57 +0900
committerKukjin Kim <kgene.kim@samsung.com>2011-12-23 10:10:46 +0900
commita153e31abb01484d0088ac28425dc98204848ad4 (patch)
tree3199daf288236296fb8f91579c48274aca4c8a7e /arch/arm/mach-s5pv210
parent8c4b8e718c9462c1beaa7db734bf5ec0b317ac8b (diff)
downloadlinux-a153e31abb01484d0088ac28425dc98204848ad4.tar.bz2
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-s5pv210')
-rw-r--r--arch/arm/mach-s5pv210/dev-spi.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-s5pv210/dev-spi.c b/arch/arm/mach-s5pv210/dev-spi.c
index eaf9a7bff7a0..39bef19dbd68 100644
--- a/arch/arm/mach-s5pv210/dev-spi.c
+++ b/arch/arm/mach-s5pv210/dev-spi.c
@@ -20,11 +20,6 @@
#include <plat/s3c64xx-spi.h>
#include <plat/gpio-cfg.h>
-static char *spi_src_clks[] = {
- [S5PV210_SPI_SRCCLK_PCLK] = "pclk",
- [S5PV210_SPI_SRCCLK_SCLK] = "sclk_spi",
-};
-
/* SPI Controller platform_devices */
/* Since we emulate multi-cs capability, we do not touch the CS.
@@ -171,5 +166,4 @@ void __init s5pv210_spi_set_info(int cntrlr, int src_clk_nr, int num_cs)
pd->num_cs = num_cs;
pd->src_clk_nr = src_clk_nr;
- pd->src_clk_name = spi_src_clks[src_clk_nr];
}