ARM: S3C64XX: Cleanup common init code in s3c6400-clock.c
authorBen Dooks <ben-linux@fluff.org>
Mon, 30 Nov 2009 01:10:57 +0000 (01:10 +0000)
committerBen Dooks <ben-linux@fluff.org>
Fri, 15 Jan 2010 08:10:08 +0000 (17:10 +0900)
commitf9c4f1e4ddf40103dcf85e23d00230ab8ece2a89
treeb8e3e318ac7991daf951d5dca05cdaf85811f806
parent70792bcfad5f4817fc067b7fdb0541d8b13b5502
ARM: S3C64XX: Cleanup common init code in s3c6400-clock.c

Remove the four fields from clksrc_clk.clk which are always the same
and init them when the clock is registered. This helps remove the amount
of repeated code.

This is a re-work of Harald Welte's clock changes for the latest kernel.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/plat-s3c64xx/s3c6400-clock.c