]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[ARM] OMAP2/3 clock: clean up mach-omap2/clock.c
authorPaul Walmsley <paul@pwsan.com>
Wed, 28 Jan 2009 19:18:19 +0000 (12:18 -0700)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 8 Feb 2009 17:50:36 +0000 (17:50 +0000)
commitee1eec36345871955730e36232937c9d814a6e20
treefd305ad879f9b8bcc83e61ceb6a8bd852f5ecee8
parent416db864c18343c6dcc5e9768c902460c8f8777c
[ARM] OMAP2/3 clock: clean up mach-omap2/clock.c

This patch rolls up several cleanup patches.

1. Some unnecessarily verbose variable names are used in several clock.c
functions; clean these up per CodingStyle.

2. Remove omap2_get_clksel() and just use clk->clksel_reg and
clk->clksel_mask directly.

3. Get rid of void __iomem * usage in omap2_clksel_get_src_field.
Prepend the function name with an underscore to highlight that it is a
static function.

linux-omap source commits are 7fa95e007ea2f3c4d0ecd2779d809756e7775894,
af0ea23f1ee4a5bea3b026e38761b47089f9048a, and
91c0c979b47c44b08f80e4f8d4c990fb158d82c4.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-omap2/clock.c