]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: f_subset: switch over to PTR_RET
authorFelipe Balbi <balbi@ti.com>
Mon, 10 Mar 2014 18:30:54 +0000 (13:30 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Mar 2014 23:05:31 +0000 (16:05 -0700)
commit8f1d5e3eebafee933ecfa73c70e91b1b314bd852
treeb6b5e4e8d99c74368f2d42a4abeabc60bbcd5386
parent007ccea0212a730910f4e20b444a81c6b5fc1bf4
usb: gadget: f_subset: switch over to PTR_RET

this patch fixes the following Coccinelle warning:

drivers/usb/gadget/f_subset.c:279:8-14: WARNING: \
PTR_RET can be used

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/f_subset.c