On Tue, Nov 27, 2012 at 10:06:07PM -0500, Chao Xie wrote: > 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 <chao.xie@xxxxxxxxxxx> care to refresh ? patching file drivers/usb/gadget/mv_udc_core.c Hunk #1 succeeded at 1408 with fuzz 2 (offset 14 lines). Hunk #2 FAILED at 2174. Hunk #3 succeeded at 2363 (offset 44 lines). Hunk #4 succeeded at 2442 with fuzz 1 (offset 56 lines). Hunk #5 succeeded at 2475 with fuzz 1 (offset 54 lines). 1 out of 5 hunks FAILED -- saving rejects to file drivers/usb/gadget/mv_udc_core.c.rej -- balbi
Attachment:
signature.asc
Description: Digital signature