usb: gadget: f_mass_storage: Fix sparse warning
authorJingoo Han <jg1.han@samsung.com>
Mon, 16 Dec 2013 09:42:48 +0000 (18:42 +0900)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 15 May 2014 05:26:50 +0000 (07:26 +0200)
commitcd9e7b1aba0b160970374f30bcc44884982eea4f
treea8148f59e4e3a84a3217fad037adf820a5c33761
parent50df3ae1c92048a3ec16213f783e66c5a1ac0a2b
usb: gadget: f_mass_storage: Fix sparse warning

Use NULL instead of 0 when returning pointer, to fix the following
sparse warnings.

drivers/usb/gadget/f_mass_storage.c:3114:60: warning: Using plain integer as NULL pointer
drivers/usb/gadget/f_mass_storage.c:3114:63: 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/f_mass_storage.c