On 9/12/2016 10:52 PM, Felipe Balbi wrote:
>
> Hi Masahiro,
>
> Masahiro Yamada writes:
>> The combo of list_empty() check and return list_first_entry()
>> can be replaced with list_first_entry_or_null().
>>
>> Signed-off-by: Masahiro Yamada
>> ---
>
> Care to split this into two patches (one
Hi Masahiro,
Masahiro Yamada writes:
> The combo of list_empty() check and return list_first_entry()
> can be replaced with list_first_entry_or_null().
>
> Signed-off-by: Masahiro Yamada
> ---
Care to split this into two patches (one for dwc2 and one for dwc3)?
thanks
--
balbi
signature.a
The combo of list_empty() check and return list_first_entry()
can be replaced with list_first_entry_or_null().
Signed-off-by: Masahiro Yamada
---
drivers/usb/dwc2/gadget.c| 6 ++
drivers/usb/dwc3/gadget.h| 5 +
drivers/usb/renesas_usbhs/fifo.c | 5 +
3 files changed,
3 matches
Mail list logo