lkml.org 
[lkml]   [2016]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/3] usb: trivial cleanups with list_first_entry_or_null()
Date
Replace the chain of list_empty() and list_first_entry()
with list_first_entry_or_null().

Changes in v2:
- Split into per-driver patches


Masahiro Yamada (3):
usb: dwc2: cleanup with list_first_entry_or_null()
usb: dwc3: cleanup with list_first_entry_or_null()
usb: renesas_usbhs: cleanup with list_first_entry_or_null()

drivers/usb/dwc2/gadget.c | 6 ++----
drivers/usb/dwc3/gadget.h | 5 +----
drivers/usb/renesas_usbhs/fifo.c | 5 +----
3 files changed, 4 insertions(+), 12 deletions(-)

--
1.9.1

\
 
 \ /
  Last update: 2016-09-18 18:05    [W:0.133 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site