[V2 PATCH 08/27] usb: gadget: mv_udc: fix the value of tranceiver

Felipe Balbi balbi at ti.com
Thu Jan 10 05:29:15 EST 2013


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 at marvell.com>

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130110/9b6efbae/attachment.sig>


More information about the linux-arm-kernel mailing list