]> git.karo-electronics.de Git - linux-beck.git/commit
usb: gadget: goku_udc: use NULL instead of 0
authorJingoo Han <jg1.han@samsung.com>
Fri, 2 Aug 2013 08:16:33 +0000 (17:16 +0900)
committerFelipe Balbi <balbi@ti.com>
Fri, 2 Aug 2013 08:19:51 +0000 (11:19 +0300)
commit027ca0d2fe779faf19c7c3414f840fdc851af41d
tree760939e7844fcde6a80b8ca63c2255760244956a
parentfb74d282d29dbb39ef20211a9cf2883f9f593bdd
usb: gadget: goku_udc: use NULL instead of 0

'req' is a pointer; thus, use NULL instead of 0
to fix the following sparse warning:

drivers/usb/gadget/goku_udc.c:775:13: warning: Using plain integer as NULL pointer

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/goku_udc.c