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)
committerFelipe Balbi <balbi@ti.com>
Tue, 17 Dec 2013 19:17:43 +0000 (13:17 -0600)
commit6195174ef4704d6e57a246189d65caed704d8613
treed31e7932dfd3b5fead52851b2e8586d17a5c86cf
parent8002418dfff422f9b96de2a52112ed4d552d36bb
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