Staging: emxx_udc: Return NULL instead of 0.
authorSandhya Bankar <bankarsandhya512@gmail.com>
Sun, 6 Mar 2016 10:36:18 +0000 (16:06 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Mar 2016 06:09:09 +0000 (22:09 -0800)
commit5a20df724f712e9daa9fd41b430ff63ecd203e85
tree0372706353153b397ac1db263d46009e43385cea
parent04309886935f7ab64d72d0624bbc7f766ea40713
Staging: emxx_udc: Return NULL instead of 0.

Return NULL instead of 0 from nbu2ss_ep_alloc_request(),if req pointer is NULL.

Signed-off-by: Sandhya Bankar <bankarsandhya512@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/emxx_udc/emxx_udc.c