ARM: SAMSUNG: Add s3c_disable_clocks() and tidy init+disable usage
authorBen Dooks <ben-linux@fluff.org>
Wed, 28 Apr 2010 03:58:13 +0000 (12:58 +0900)
committerBen Dooks <ben-linux@fluff.org>
Mon, 10 May 2010 02:44:38 +0000 (11:44 +0900)
commit4e04691bc600b53f6aab63404e58fae3bdf8e310
treee38f054ccb1ed1eb49315a2da15851009229c163
parente561aacc70716ff59b9359ba8f010609ee757241
ARM: SAMSUNG: Add s3c_disable_clocks() and tidy init+disable usage

Add s3c_disable_clocks() and change the clock registration code to use
the s3c_register_clocks() followed by s3c_disable_clocks() instead of
the loops it was using.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/mach-s3c2443/clock.c
arch/arm/plat-s3c24xx/s3c2410-clock.c
arch/arm/plat-samsung/clock.c
arch/arm/plat-samsung/include/plat/clock.h