NFC: pn533: Fix bad allocation size
authorThierry Escande <thierry.escande@linux.intel.com>
Sat, 12 Jan 2013 18:37:12 +0000 (19:37 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 13 Jan 2013 22:22:09 +0000 (23:22 +0100)
commit858ce0220922a52e009d17dcaaab5dfd76f9833b
treede5cf54ace3b1553aa47a775574695f75433b16f
parentfb97c3e80f99988079df4fb5f3c84aea4e7f806a
NFC: pn533: Fix bad allocation size

Use dereferenced pointer in sizeof instead of pointer itself.

Signed-off-by: Thierry Escande <thierry.escande@linux.intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/pn533.c