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)
commitf3c73649828397ca6bae88bcb8cd70bbcbb65b18
treeb6b5e4e8d99c74368f2d42a4abeabc60bbcd5386
parentade79d13a83a31cc0f68b47831bcbfe3a82f613f
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