Skip to content

Commit

Permalink
OMAP2+ clock: clean up clkt_clksel.c
Browse files Browse the repository at this point in the history
This patch cleans up arch/arm/mach-omap2/clkt_clksel.c.  It:

- makes several functions static that are not called outside the file;

- adds documentation;

- makes some code paths easier to read (hopefully), by breaking up
  compound statements and removing redundant checks;

- converts some pr_err()s that indicate clock tree data problems into WARN()s,
  so they are more likely to be noticed;

- and moves omap2_clk_round_rate() back into mach-omap2/clock.c, its proper
  home, since it is not clksel-specific.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
  • Loading branch information
Paul Walmsley committed May 20, 2010
1 parent d74b494 commit 435699d
Show file tree
Hide file tree
Showing 3 changed files with 266 additions and 177 deletions.
Loading

0 comments on commit 435699d

Please sign in to comment.