usb: gadget: storage: fix sparse warning
authorFelipe Balbi <balbi@ti.com>
Mon, 25 Nov 2013 17:07:46 +0000 (11:07 -0600)
committerFelipe Balbi <balbi@ti.com>
Mon, 25 Nov 2013 17:07:46 +0000 (11:07 -0600)
commitf91d2f4337cdf8009da21cb93173099caf7981d4
tree6c72e422f0fda04c2db4c78761d214382bb6002a
parentc8ba8115a21226fba3211085f570b128fa271e31
usb: gadget: storage: fix sparse warning

fsg_common_set_inquiry_string() expects pointers
as second and third argument. Let's fix that by
passing NULL instead of plain 0 just so we silence
sparse's:

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: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/f_mass_storage.c