NFC: digital: Use matching_[im|tm]_protocols to check with NFC protocols masks
authorAxel Lin <axel.lin@ingics.com>
Sat, 22 Feb 2014 02:16:11 +0000 (10:16 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 23 Feb 2014 22:34:09 +0000 (23:34 +0100)
commit4f913d4631fa9c47320669b2e7ec62fa7436719d
treec1cca891534f1c752464fbbe3334e14ccde1209c
parent156cef80f2a1aea4f150dff5d990e8fbbd96d862
NFC: digital: Use matching_[im|tm]_protocols to check with NFC protocols masks

This ensures we won't add polling function to the table of polling technologies
for non-supported protocols.

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