OMAP2/3/4 clock: move clksel clock functions into mach-omap2/clkt_clksel.c
authorPaul Walmsley <paul@pwsan.com>
Wed, 27 Jan 2010 03:13:04 +0000 (20:13 -0700)
committerPaul Walmsley <paul@pwsan.com>
Wed, 27 Jan 2010 03:13:04 +0000 (20:13 -0700)
commitdf791b3ebf181b3eece9c770565fcf0844bbd7cb
tree63f9c589296060f84da3d8d0dd63031630aa0069
parent0b96af683026ab9ca4dd52f9005a1a4fc582e914
OMAP2/3/4 clock: move clksel clock functions into mach-omap2/clkt_clksel.c

Move all clksel-related clock functions from mach-omap2/clock.c to
mach-omap2/clkt_clksel.c.  This is intended to make the clock code
easier to understand, since all of the functions needed to manage
clksel clocks are now located in their own file, rather than being
mixed with other, unrelated functions.

Clock debugging is also now more finely-grained, since the DEBUG macro
can now be defined for clksel clocks alon.  This should reduce
unnecessary console noise when debugging.

Also, if at some future point the mach-omap2/ directory is split
into OMAP2/3/4 variants, this clkt file can be moved to the plat-omap/
directory to be shared.

Thanks to Alexander Shishkin <virtuoso@slind.org> for his comments to
improve the patch description.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Alexander Shishkin <virtuoso@slind.org>
arch/arm/mach-omap2/Makefile
arch/arm/mach-omap2/clkt_clksel.c [new file with mode: 0644]
arch/arm/mach-omap2/clock.c
arch/arm/mach-omap2/clock.h
This page took 0.024896 seconds and 5 git commands to generate.