NFC: digital: Fix incorrect use of ERR_PTR and PTR_ERR macros
authorThierry Escande <thierry.escande@linux.intel.com>
Thu, 2 Jan 2014 10:58:13 +0000 (11:58 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Sat, 4 Jan 2014 02:35:34 +0000 (03:35 +0100)
commit67af1d7a0fb4b5397cb093c0fe98d5b95516c228
tree8422b34f34049f7d080bd251018f73b7b2983cb5
parent444fb98eed98f7292a83f9bf123d1c78f171327e
NFC: digital: Fix incorrect use of ERR_PTR and PTR_ERR macros

It's bad to use these macros when not dealing with error code. this
patch changes calls to these macros with correct casts.

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