Commit 63b12e3e authored by Felipe Balbi's avatar Felipe Balbi

usb: gadget: ffs: fix sparse warning

use NULL instead of 0 as pointer.
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent d07a5901
......@@ -1304,7 +1304,7 @@ static struct ffs_data *ffs_data_new(void)
{
struct ffs_data *ffs = kzalloc(sizeof *ffs, GFP_KERNEL);
if (unlikely(!ffs))
return 0;
return NULL;
ENTER();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment