S3C24XX: unclutter clock init, mostly for S3C2443

A patchset in state Mainline for linux-kernel

From: Heiko Stuebner <heiko@...> Date: Thu, 12 Jan 2012 14:36:39 +0100

This series tries to unclutter the clock init of S3C2443 and onward a bit. Most clock-information can be read via generic code and doesn't need special code for reading the raste of the h and p clock. I'm not 100% sure on the sanity of the fifth patch, which removes the plat-s3c24xx/clock.c, as it duplicates a little bit of code into the s3c2412 machine directory but would remove another nearly meaningless file from plat-s3c24xx. This series applies cleanly against current linux-next. Heiko Stuebner (5): S3C2443/S3C2416: remove XXX_setup_clocks methods S3C2443/S3C2416: add get_rate for clk_h S3C2443/S3C2416: add get_rate for clk_p S3C2443/S3C2416: remove call to s3c24xx_setup_clocks S3C24XX: remove plat-s3c24xx/clock.c arch/arm/mach-s3c2412/clock.c | 1 + arch/arm/mach-s3c2412/s3c2412.c | 7 ++- arch/arm/mach-s3c2416/clock.c | 6 -- arch/arm/mach-s3c2443/clock.c | 7 --- arch/arm/plat-s3c24xx/Makefile | 1 - arch/arm/plat-s3c24xx/clock.c | 59 ------------------------ arch/arm/plat-s3c24xx/s3c2410-clock.c | 15 ++++++ arch/arm/plat-s3c24xx/s3c2443-clock.c | 69 +++++++++++++++++++--------- arch/arm/plat-samsung/include/plat/clock.h | 1 - 9 files changed, 69 insertions(+), 97 deletions(-) delete mode 100644 arch/arm/plat-s3c24xx/clock.c -- 1.7.5.4

Patches in this set

Statistics

  • 5 individual patches
  • 71 lines added
  • 99 lines removed
 

Recent Patches

About Us

Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec metus placerat consectetuer.

Read More...