diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-10-14 02:41:36 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2011-10-14 02:41:36 -0400 |
commit | ec4f5423b5b63b1a92bce375ed242d2c19767995 (patch) | |
tree | 5d615760416f25434a9333a6df2348c0767978b6 | |
parent | 5227a54a0f2c8ff4a0a971aac03511cf5545e1fb (diff) |
ARM: S3C2443: Remove redundant s3c_register_clocks call for init_clocks
Since commit af337f3e633a198034a99450416257ddf2307497
"ARM: S3C2443: Move parts of the clock code to common clock file",
the init_clocks array is moved to arch/arm/plat-s3c24xx/s3c2443-clock.c.
Now we call s3c_register_clocks for init_clocks in s3c2443_common_init_clocks.
Thus we can remove the empty init_clocks array here and remove the
redundant s3c_register_clocks call for init_clocks in s3c2443_init_clocks.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
-rw-r--r-- | arch/arm/mach-s3c2443/clock.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/arm/mach-s3c2443/clock.c b/arch/arm/mach-s3c2443/clock.c index b93cb96f57a5..1c2c088aa2e8 100644 --- a/arch/arm/mach-s3c2443/clock.c +++ b/arch/arm/mach-s3c2443/clock.c | |||
@@ -168,9 +168,6 @@ static struct clk init_clocks_off[] = { | |||
168 | } | 168 | } |
169 | }; | 169 | }; |
170 | 170 | ||
171 | static struct clk init_clocks[] = { | ||
172 | }; | ||
173 | |||
174 | /* clocks to add straight away */ | 171 | /* clocks to add straight away */ |
175 | 172 | ||
176 | static struct clksrc_clk *clksrcs[] __initdata = { | 173 | static struct clksrc_clk *clksrcs[] __initdata = { |
@@ -206,10 +203,6 @@ void __init s3c2443_init_clocks(int xtal) | |||
206 | for (ptr = 0; ptr < ARRAY_SIZE(clksrcs); ptr++) | 203 | for (ptr = 0; ptr < ARRAY_SIZE(clksrcs); ptr++) |
207 | s3c_register_clksrc(clksrcs[ptr], 1); | 204 | s3c_register_clksrc(clksrcs[ptr], 1); |
208 | 205 | ||
209 | /* register clocks from clock array */ | ||
210 | |||
211 | s3c_register_clocks(init_clocks, ARRAY_SIZE(init_clocks)); | ||
212 | |||
213 | /* We must be careful disabling the clocks we are not intending to | 206 | /* We must be careful disabling the clocks we are not intending to |
214 | * be using at boot time, as subsystems such as the LCD which do | 207 | * be using at boot time, as subsystems such as the LCD which do |
215 | * their own DMA requests to the bus can cause the system to lockup | 208 | * their own DMA requests to the bus can cause the system to lockup |