NFC: NCI: Store the spi device pointer from the spi instance
authorEric Lapuyade <eric.lapuyade@linux.intel.com>
Thu, 19 Sep 2013 14:52:06 +0000 (16:52 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 25 Sep 2013 00:02:30 +0000 (02:02 +0200)
commit645d5087bd9667ed398bcb4bfd8784e1de1ee693
tree3165c1eb0008b4f75009ad5b2f120681edef6066
parent1c7a4c24fbfd99442cc6e14dc80fcb00f118e8b8
NFC: NCI: Store the spi device pointer from the spi instance

Storing the spi device was forgotten in the original implementation,
which would pretty obviously cause some kind of serious crash when
actually trying to send something through that device.

Signed-off-by: Eric Lapuyade <eric.lapuyade@intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
net/nfc/nci/spi.c