From: Chao Xie Date: Thu, 24 Jan 2013 06:38:30 +0000 (-0500) Subject: usb: gadget: mv_udc: fix the value of tranceiver X-Git-Tag: v3.9-rc1~126^2~43^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=449d04a977f63e6218d88312f9bd3cb53fb5d30b;p=pandora-kernel.git usb: gadget: mv_udc: fix the value of tranceiver usally we will use udc->tranceiver == NULL or udc->tranceiver != NULL. So when failed to get the udc->tranceiver by usb_get_phy(), we directly set udc->tranceiver to be NULL. Then the source code will not need macro IS_ERR_OR_NULL() for udc->tranceiver judgement. It can reduce the line size and make the judgement simple. Signed-off-by: Chao Xie Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed