[ARM] OMAP clock: drop clk_get_usecount()
authorPaul Walmsley <paul@pwsan.com>
Wed, 28 Jan 2009 19:35:09 +0000 (12:35 -0700)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 8 Feb 2009 17:50:45 +0000 (17:50 +0000)
commitbe5f34b77355b9b1720a88390e51441ef578720b
tree73ad558c0d799e75178353f16e5d37390c26f746
parentf11fda6a9173e8e6b152ba5cb26fa20095a4c60f
[ARM] OMAP clock: drop clk_get_usecount()

This function is race-prone and mistakenly conveys the impression to
drivers that it is part of the clock interface.  Get rid of it: core
code that absolutely needs this can just check clk->usecount.  Drivers
should not use it at all.

linux-omap source commit is 5df9e4adc2f6a6d55aca53ee27b8baad18897c05.

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/plat-omap/clock.c
arch/arm/plat-omap/include/mach/clock.h