mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 16:24:13 +08:00
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 <felipe.balbi@nokia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
09e81f3df4
commit
ff85494b3f
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user