]> 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)
commitc068de0c3ede1a248a5924bfbe2de52c900e900f
treeb6b5e4e8d99c74368f2d42a4abeabc60bbcd5386
parent41888c572e50c9ae439b7df22640f381b1bfcc15
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