]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
USB: musb: omap2430: fix sparse warning
authorFelipe Balbi <felipe.balbi@nokia.com>
Fri, 4 Dec 2009 13:47:45 +0000 (15:47 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Dec 2009 19:55:28 +0000 (11:55 -0800)
Fix the following sparse warning:

drivers/usb/musb/omap2430.c:314:16: warning: Using plain integer as NULL pointer

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

index 6761d2088db85e955b2dc28e21a9e80da11db37b..83beeac5e7bf3ba55982e1c8feab9e7f0c3e0011 100644 (file)
@@ -315,7 +315,7 @@ int musb_platform_exit(struct musb *musb)
        musb_platform_suspend(musb);
 
        clk_put(musb->clock);
-       musb->clock = 0;
+       musb->clock = NULL;
 
        return 0;
 }