sh: clock framework update, fix count and kill off kref
authorMagnus Damm <damm@igel.co.jp>
Fri, 8 May 2009 08:23:29 +0000 (08:23 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 8 May 2009 08:46:22 +0000 (17:46 +0900)
This patch updates the clock framework use count code.
With this patch the enable() and disable() callbacks
only get called when counting from and to zero.
While at it the kref stuff gets replaced with an int.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>

No differences found