Re: [PATCH 6/9] usb: chipidea: debug: use list_for_each_entry

2015-12-24 Thread Peter Chen
On Sat, Dec 19, 2015 at 12:34:31AM +0800, Geliang Tang wrote: > Use list_for_each_entry() instead of list_for_each() to simplify > the code. > > Signed-off-by: Geliang Tang > --- > drivers/usb/chipidea/debug.c | 5 + > 1 file changed, 1 insertion(+), 4 deletions(-) > > diff --git a/drivers/

[PATCH 6/9] usb: chipidea: debug: use list_for_each_entry

2015-12-18 Thread Geliang Tang
Use list_for_each_entry() instead of list_for_each() to simplify the code. Signed-off-by: Geliang Tang --- drivers/usb/chipidea/debug.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/usb/chipidea/debug.c b/drivers/usb/chipidea/debug.c index a4f7db2..de5c509 10064