]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
NFC: st-nci: Covert to use GPIO descriptor
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 19 Jun 2017 10:08:54 +0000 (13:08 +0300)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 22 Jun 2017 21:51:45 +0000 (23:51 +0200)
commita89e68f118e96b165555f7c64fee8aaff7bb7fb3
tree039a8aadfaf4479638e8168be2596908e1c3d5fe
parent1af9fea6be9de6e86f628e66c0eae996c49dbe80
NFC: st-nci: Covert to use GPIO descriptor

Since we got rid of platform data, the driver may use GPIO descriptor
directly.

Looking deeply to the use of the GPIO pin it looks like it should be
a GPIO based reset control rather than custom GPIO handling. But this
is out of scope of the change.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/st-nci/i2c.c
drivers/nfc/st-nci/spi.c