USB: r8a66597-udc: return -ENOMEM if kzalloc() fails
authorAxel Lin <axel.lin@gmail.com>
Tue, 17 Aug 2010 01:41:29 +0000 (09:41 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 24 Aug 2010 03:50:15 +0000 (20:50 -0700)
commit96f2a34d2cec71d59014be9ecd7a038435e88584
tree12a030b3379f9b34a1df52fbff50ff64fdbfffc9
parent0827a9ff2bbcbb03c33f1a6eb283fe051059482c
USB: r8a66597-udc: return -ENOMEM if kzalloc() fails

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/r8a66597-udc.c