]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/mach-omap2/pm24xx.c
OMAP clock: drop clk_get_usecount()
[linux-2.6-omap-h63xx.git] / arch / arm / mach-omap2 / pm24xx.c
index 60ff04f3f4c08692af86ed7b8de399e08ac683a8..2798e87ce6bd7e09fc0e12441fd4f2a8005a69e7 100644 (file)
@@ -249,7 +249,7 @@ static int omap2_can_sleep(void)
                return 0;
        if (atomic_read(&sleep_block) > 0)
                return 0;
-       if (clk_get_usecount(osc_ck) > 1)
+       if (osc_ck->usecount > 1)
                return 0;
        if (omap_dma_running())
                return 0;