fpga: bridge: Replace open-coded list_for_each + list_entry
authorMoritz Fischer <mdf@kernel.org>
Fri, 10 Mar 2017 20:47:11 +0000 (12:47 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Mar 2017 06:10:48 +0000 (15:10 +0900)
commitc37235cce31d5e03b73692f31e994964f18e2dc2
tree4c7304e86b6d6cb0e1e3f63717a0c3cdbee8f156
parent21f8ba2ef378d906374a26f7abc05fb92219e9c6
fpga: bridge: Replace open-coded list_for_each + list_entry

Replaces open-coded list_for_each() + list_entry() with macro
list_for_each_entry()

Signed-off-by: Moritz Fischer <mdf@kernel.org>
Cc: linux-fpga@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Acked-by: Alan Tull <atull@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/fpga/fpga-bridge.c