Hi,

Andy Shevchenko <[email protected]> writes:
> The commit 47d3946ea220
>
>       usb: dwc3: refactor gadget endpoint count calculation
>
> refactored dwc3_gadget_init_endpoints() and in particular changed in or
> out endpoint numbering to be through. It's not always convenient and
> makes code a slightly harder to read.
>
> Introduce a new temporary variable to make it easier to understand what
> is going on inside the function.
>
> While doing that, rename local variables as follows:
>       u8 num  -> u8 total
>       int num -> int kbytes

this one is actually in bytes. I'll fix wen applying.

-- 
balbi

Attachment: signature.asc
Description: PGP signature

Reply via email to