Skip to content

Commit

Permalink
ARM: S3C64XX: Compress s3c6400-clock.c code
Browse files Browse the repository at this point in the history
The individually named clocks are all static to the code
and thus can be compressed into a single array and then
the array can be referenced. This removes the need for
a seperate array of pointers to clocks.

Fix a minor problem of re-initialising the pointers in
s3c6400_set_clksrc() as this is also called by the cpufreq
code. Move these initialisations to the code that does the
registration.

Based on Harald Welte's original clock changes patch.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
  • Loading branch information
Ben Dooks committed Jan 15, 2010
1 parent f9c4f1e commit 8360493
Showing 1 changed file with 154 additions and 180 deletions.
Loading

0 comments on commit 8360493

Please sign in to comment.