NFC: trf7970a: use to_spi_device
authorGeliang Tang <geliangtang@163.com>
Tue, 22 Dec 2015 16:18:42 +0000 (00:18 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 29 Dec 2015 18:06:12 +0000 (19:06 +0100)
commit88e2ce014fd3472825f70050aec6e8426667ae90
tree62e5449105b9364550793b396ebb4217a2c0ba97
parent6b52d994b2763c87d67b0968fa746824f8855783
NFC: trf7970a: use to_spi_device

Use to_spi_device() instead of open-coding it.

Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/trf7970a.c