ARM: S5P: Reduce duplicated EPLL control codes
authorSeungwhan Youn <sw.youn@samsung.com>
Thu, 14 Oct 2010 01:39:08 +0000 (10:39 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Mon, 25 Oct 2010 07:05:56 +0000 (16:05 +0900)
commitd4b34c6c849d67b7afaa90d55dc7fab981c72950
treec6b5c6bfe622832865a98fecec1159cb350bc18a
parent900fa0196c564895bfa2eb412d2a83421d3f3444
ARM: S5P: Reduce duplicated EPLL control codes

S5P Samsung SoCs has a EPLL to support various PLL clock sources for other
H/W blocks. Until now, to control EPLL, each of SoCs make their own functions
in 'mach-s5pxxx/clock.c'. But some of functions, 'xxx_epll_get_rate()' and
'xxx_epll_enable()', are exactly same in all S5P SoCs, so this patch move
these duplicated codes to common EPLL functions that use platform wide.

Signed-off-by: Seungwhan Youn <sw.youn@samsung.com>
Acked-by: Jassi Brar <jassi.brar@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-s5p64x0/clock-s5p6440.c
arch/arm/mach-s5p64x0/clock-s5p6450.c
arch/arm/mach-s5p64x0/clock.c
arch/arm/mach-s5p64x0/include/mach/regs-clock.h
arch/arm/mach-s5pc100/clock.c
arch/arm/mach-s5pv310/include/mach/regs-clock.h
arch/arm/plat-s5p/clock.c
arch/arm/plat-s5p/include/plat/s5p-clock.h