NFC: nfcmrvl: allow gpio 0 for reset signalling
authorJohan Hovold <johan@kernel.org>
Thu, 30 Mar 2017 10:15:42 +0000 (12:15 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 18 Jun 2017 21:58:00 +0000 (23:58 +0200)
commite33a3f84f88f13eab6a45c5230c9b9ee9ac78e60
treee0ab90a18340569ac3d1a1f37a802738fd6887ea
parent0d1ca88bbfdfdad4f6fc0421da5e4ea9a13a0d42
NFC: nfcmrvl: allow gpio 0 for reset signalling

Allow gpio 0 to be used for reset signalling, and instead use negative
errnos to disable the reset functionality.

Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/nfcmrvl/main.c
include/linux/platform_data/nfcmrvl.h