Skip to content

Commit

Permalink
ARM: S3C24XX: remove XXX_setup_clocks method from S3C2443
Browse files Browse the repository at this point in the history
s3c2443_common_setup_clocks is always called through
s3c2443_common_init_clocks, so there is no need to call it separately.
It was also called twice through this separate call.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
  • Loading branch information
Heiko Stuebner authored and Kukjin Kim committed Mar 7, 2012
1 parent 714cc3a commit 7d9811f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
7 changes: 0 additions & 7 deletions arch/arm/mach-s3c24xx/clock-s3c2443.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,11 +179,6 @@ static struct clk *clks[] __initdata = {
&clk_hsmmc,
};

void __init_or_cpufreq s3c2443_setup_clocks(void)
{
s3c2443_common_setup_clocks(s3c2443_get_mpll);
}

void __init s3c2443_init_clocks(int xtal)
{
unsigned long epllcon = __raw_readl(S3C2443_EPLLCON);
Expand All @@ -196,8 +191,6 @@ void __init s3c2443_init_clocks(int xtal)
armdiv, ARRAY_SIZE(armdiv),
S3C2443_CLKDIV0_ARMDIV_MASK);

s3c2443_setup_clocks();

s3c24xx_register_clocks(clks, ARRAY_SIZE(clks));

for (ptr = 0; ptr < ARRAY_SIZE(clksrcs); ptr++)
Expand Down
1 change: 0 additions & 1 deletion arch/arm/plat-samsung/include/plat/clock.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ extern void s3c24xx_setup_clocks(unsigned long fclk,
extern void s3c2410_setup_clocks(void);
extern void s3c2412_setup_clocks(void);
extern void s3c244x_setup_clocks(void);
extern void s3c2443_setup_clocks(void);

/* S3C2410 specific clock functions */

Expand Down

0 comments on commit 7d9811f

Please sign in to comment.