public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] usb: trivial cleanups with list_first_entry_or_null()
@ 2016-09-18 16:03 Masahiro Yamada
  2016-09-18 16:03 ` [PATCH v2 1/3] usb: dwc2: cleanup " Masahiro Yamada
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Masahiro Yamada @ 2016-09-18 16:03 UTC (permalink / raw)
  To: linux-usb
  Cc: Felipe Balbi, Masahiro Yamada, Felipe Balbi, linux-kernel,
	Yoshihiro Shimoda, Julia Lawall, Greg Kroah-Hartman, John Youn

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-10-31 11:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-18 16:03 [PATCH v2 0/3] usb: trivial cleanups with list_first_entry_or_null() Masahiro Yamada
2016-09-18 16:03 ` [PATCH v2 1/3] usb: dwc2: cleanup " Masahiro Yamada
2016-09-18 16:03 ` [PATCH v2 2/3] usb: dwc3: " Masahiro Yamada
2016-09-18 16:03 ` [PATCH v2 3/3] usb: renesas_usbhs: " Masahiro Yamada
2016-09-27 12:14   ` Yoshihiro Shimoda
2016-10-28 14:55 ` [PATCH v2 0/3] usb: trivial cleanups " Masahiro Yamada
2016-10-31 11:03   ` Felipe Balbi
2016-10-31 11:15     ` Masahiro Yamada

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox