usb: gadget: Use ERR_CAST inlined function instead of ERR_PTR(PTR_ERR(...))
authorDuan Jiong <duanj.fnst@cn.fujitsu.com>
Thu, 26 Sep 2013 07:55:25 +0000 (15:55 +0800)
committerFelipe Balbi <balbi@ti.com>
Tue, 1 Oct 2013 14:46:17 +0000 (09:46 -0500)
commita346941152878d8cab198fb10ba45dd706ed5ea1
treea23adb7fe5dd55a264d98bf6b62ae5a248658a49
parentea78201e2e08f8a91e30100c4c4a908b5cf295fc
usb: gadget: Use ERR_CAST inlined function instead of ERR_PTR(PTR_ERR(...))

trivial patch converting ERR_PTR(PTR_ERR()) into ERR_CAST().
No functional changes.

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