]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
OMAP clock: drop clk_get_usecount()
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)
commit5df9e4adc2f6a6d55aca53ee27b8baad18897c05
tree3408267b3868dbe77b76d67b63bee83a6ee25fb0
parent260f5487848681b4d8ea7430a709a601bbcb21d1
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.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/pm-debug.c
arch/arm/mach-omap2/pm24xx.c
arch/arm/plat-omap/clock.c
arch/arm/plat-omap/include/mach/clock.h