NFC: Use list_for_each_entry in nfc_find_se()
authorAxel Lin <axel.lin@ingics.com>
Fri, 14 Feb 2014 11:29:19 +0000 (19:29 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 23 Feb 2014 22:32:18 +0000 (23:32 +0100)
commit156cef80f2a1aea4f150dff5d990e8fbbd96d862
treeae2e7be9df7ab69563ffe8035306591dca4e6f56
parent99968e0616b802173ef83a94d3bdefa12c33eba8
NFC: Use list_for_each_entry in nfc_find_se()

nfc_find_se() does not modify any list entry while iterating the list.
So use list_for_each_entry instead of list_for_each_entry_safe.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
net/nfc/core.c