From: Felipe Balbi Date: Fri, 4 Dec 2009 13:47:45 +0000 (+0200) Subject: USB: musb: omap2430: fix sparse warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ff85494b3f06a596a3f3b2f71841de0154799918;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git USB: musb: omap2430: fix sparse warning Fix the following sparse warning: drivers/usb/musb/omap2430.c:314:16: warning: Using plain integer as NULL pointer Signed-off-by: Felipe Balbi Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/musb/omap2430.c b/drivers/usb/musb/omap2430.c index 6761d2088db8..83beeac5e7bf 100644 --- a/drivers/usb/musb/omap2430.c +++ b/drivers/usb/musb/omap2430.c @@ -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; }