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>
diff --git a/drivers/nfc/pn533.c b/drivers/nfc/pn533.c
index f1702f9..f696318 100644
--- a/drivers/nfc/pn533.c
+++ b/drivers/nfc/pn533.c
@@ -743,7 +743,7 @@
 
 	nfc_dev_dbg(&dev->interface->dev, "Sending command 0x%x", cmd_code);
 
-	arg = kzalloc(sizeof(arg), GFP_KERNEL);
+	arg = kzalloc(sizeof(*arg), GFP_KERNEL);
 	if (!arg)
 		return -ENOMEM;
 
@@ -863,7 +863,7 @@
 	if (!resp)
 		return -ENOMEM;
 
-	arg = kzalloc(sizeof(arg), GFP_KERNEL);
+	arg = kzalloc(sizeof(*arg), GFP_KERNEL);
 	if (!arg) {
 		dev_kfree_skb(resp);
 		return -ENOMEM;