NFC: digital: Improve a size determination in four functions
authorMarkus Elfring <elfring@users.sourceforge.net>
Mon, 22 May 2017 12:11:01 +0000 (14:11 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 22 Jun 2017 22:07:04 +0000 (00:07 +0200)
commitae72c9910b170e55386586cf18ef9015a8d172e6
treedaa936737d8a2133f47f4bfd5dc9741ad0f6c580
parente1038535106e73e48204ec3bfe5a428fe6cb35cb
NFC: digital: Improve a size determination in four functions

Replace the specification of four data structures by pointer dereferences
as the parameter for the operator "sizeof" to make the corresponding size
determination a bit safer according to the Linux coding style convention.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
net/nfc/digital_core.c