NFC: Clear pn533 target structure
authorSamuel Ortiz <sameo@linux.intel.com>
Mon, 5 Mar 2012 00:03:39 +0000 (01:03 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 6 Mar 2012 20:16:21 +0000 (15:16 -0500)
commit98b3ac1b980b0c0ffff24fda8d13ab8c216df4d1
treeef6e1af19ec07b7bcb5b32531647285a47e33493
parent1762c17c9c38ed21090bee8cd02e2b470c5c2308
NFC: Clear pn533 target structure

The polled target structure should be memset to 0 in order to avoid
sel_res and sens_res garbage.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/nfc/pn533.c