usb: gadget: f_subset: replace PTR_RET with PTR_ERR_OR_ZERO
authorDuan Jiong <duanj.fnst@cn.fujitsu.com>
Fri, 11 Apr 2014 10:05:13 +0000 (18:05 +0800)
committerFelipe Balbi <balbi@ti.com>
Mon, 21 Apr 2014 19:07:29 +0000 (14:07 -0500)
commit9f58fa4c919e1a33e3844f6851735ec9f724bf52
treebb8d30a1287f52efa1ebc41fc25ba7b54228c47f
parentaea8928aba7d7ee2e6245d44ba7de4c04fc90559
usb: gadget: f_subset: replace PTR_RET with PTR_ERR_OR_ZERO

PTR_RET is deprecated. Do not recommend its usage anymore.
Use PTR_ERR_OR_ZERO instead.

Signed-off-by: Duan Jiong <duanj.fnst@cn.fujitsu.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/f_subset.c