Skip to content

Commit

Permalink
ARM: S3C2443: Remove redundant s3c_register_clocks call for init_clocks
Browse files Browse the repository at this point in the history
Since commit af337f3
"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>
  • Loading branch information
Axel Lin authored and Kukjin Kim committed Oct 14, 2011
1 parent 5227a54 commit ec4f542
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions arch/arm/mach-s3c2443/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,6 @@ static struct clk init_clocks_off[] = {
}
};

static struct clk init_clocks[] = {
};

/* clocks to add straight away */

static struct clksrc_clk *clksrcs[] __initdata = {
Expand Down Expand Up @@ -206,10 +203,6 @@ void __init s3c2443_init_clocks(int xtal)
for (ptr = 0; ptr < ARRAY_SIZE(clksrcs); ptr++)
s3c_register_clksrc(clksrcs[ptr], 1);

/* register clocks from clock array */

s3c_register_clocks(init_clocks, ARRAY_SIZE(init_clocks));

/* We must be careful disabling the clocks we are not intending to
* be using at boot time, as subsystems such as the LCD which do
* their own DMA requests to the bus can cause the system to lockup
Expand Down

0 comments on commit ec4f542

Please sign in to comment.