usb: renesas_usbhs: (cosmetic) simplify list operations
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Tue, 14 Feb 2012 10:37:17 +0000 (11:37 +0100)
committerFelipe Balbi <balbi@ti.com>
Tue, 14 Feb 2012 11:44:27 +0000 (13:44 +0200)
commitd5261286949fc9ada701c7e30bf89e08a6dbf4de
treec921f947a3f9feb87ed95c7805a2dabc0805ca11
parent6fecfb05c077586ba85aa6f52f10abf30a4bfb40
usb: renesas_usbhs: (cosmetic) simplify list operations

list.h already provide helpers to find the first entry and to move list
nodes to the tail of another list. This patch simply uses those helpers,
no functional changes.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/renesas_usbhs/fifo.c