]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
OMAP2/3 clock: omap2_clk_enable(): refactor usecount check
authorPaul Walmsley <paul@pwsan.com>
Wed, 7 Jan 2009 15:23:45 +0000 (17:23 +0200)
committerTony Lindgren <tony@atomide.com>
Wed, 7 Jan 2009 15:23:45 +0000 (17:23 +0200)
commit18d4ecba1c1afc52379d5395766f442948822fc0
treea4fe03dcf02464dba1c9ab5781392deb94fab4f4
parent60b8b431e47d8c5b8c02a2e4fa9af388aae20790
OMAP2/3 clock: omap2_clk_enable(): refactor usecount check

Clean up omap2_clk_enable() by moving most of the function body out of
the usecount check.  Should result in no functional change.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/clock.c