From 449d04a977f63e6218d88312f9bd3cb53fb5d30b Mon Sep 17 00:00:00 2001 From: Chao Xie Date: Thu, 24 Jan 2013 01:38:30 -0500 Subject: [PATCH] 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-format-patch failed