usb: gadget: bcm63xx_udc: use list_for_each_entry_safe
authorGeliang Tang <geliangtang@163.com>
Fri, 18 Dec 2015 16:34:34 +0000 (00:34 +0800)
committerFelipe Balbi <balbi@ti.com>
Tue, 22 Dec 2015 18:08:40 +0000 (12:08 -0600)
commitea4a8cb1c2b47570e77f4489659e2c653ca66f9e
treee68ee1f989619e9a2e9ae2d1665c9191aa724743
parent39cee200c23eb3e28056011a1dec053beba4a18a
usb: gadget: bcm63xx_udc: use list_for_each_entry_safe

Use list_for_each_entry_safe() instead of list_for_each_safe() to
simplify the code.

Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/udc/bcm63xx_udc.c