MUSB: OMAP: don't call clk_put()
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Thu, 25 Mar 2010 11:14:31 +0000 (13:14 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 30 Apr 2010 16:25:09 +0000 (09:25 -0700)
Remove duplicate/unbalanced call to clk_put() from musb_platform_exit() --
clk_put() gets called from musb_core.c anyway...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/musb/omap2430.c

index 490cdf15ccb6ee68f6176f97727ff82756726f4c..82592633502fd226b152e518be4cbdcb8259f6b8 100644 (file)
@@ -331,8 +331,5 @@ int musb_platform_exit(struct musb *musb)
 
        musb_platform_suspend(musb);
 
-       clk_put(musb->clock);
-       musb->clock = NULL;
-
        return 0;
 }