From: Paul Walmsley Date: Wed, 28 Jan 2009 19:35:09 +0000 (-0700) Subject: [ARM] OMAP clock: drop clk_get_usecount() X-Git-Tag: v2.6.30-rc1~636^2~20^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be5f34b77355b9b1720a88390e51441ef578720b;p=pandora-kernel.git [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 Signed-off-by: Tony Lindgren Signed-off-by: Russell King --- Reading git-diff-tree failed