]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6f297a91a60e5f4844c9cd0a281eabb99f3b94a9
treee38f054ccb1ed1eb49315a2da15851009229c163
parent79fced6bc43f158680e01d407ae6c1c0d7056911
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