diff options
| author | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-01-23 14:20:09 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-25 10:59:06 +0100 |
| commit | 04861f83367eaa3f32e3a1433afe8274e9a5f7f1 (patch) | |
| tree | 5606325453336b857bd3323ba16c483c78e2fc73 /drivers/fpga/fpga-mgr.c | |
| 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>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions
