commit | 04861f83367eaa3f32e3a1433afe8274e9a5f7f1 | [log] [tgz] |
---|---|---|
author | Felipe Balbi <felipe.balbi@linux.intel.com> | Mon Jan 23 14:20:09 2017 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jan 25 10:59:06 2017 +0100 |
tree | 5606325453336b857bd3323ba16c483c78e2fc73 | |
parent | ec84481708adc5e02c00d36262679237573fe618 [diff] |
usb: host: xhci: use slightly better list helpers Replace list_entry() with list_first_entry() and list_for_each() with list_for_each_entry(). This makes the code slightly more readable. Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>