NFC: st21nfca: Fix obvious typo when check error code
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 7 Mar 2017 10:25:42 +0000 (12:25 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 5 Apr 2017 08:07:35 +0000 (10:07 +0200)
commitbacf2a6a05726e3f10aa94ef7a20feba62ee5579
treedb5584b70e8cd7ac79cfecb82cf80d5ce5b4d300
parent95129b6f0806d1ba6109dc1df4d9753ad3d4a94c
NFC: st21nfca: Fix obvious typo when check error code

We return -ENODEV if ACPI provides a GPIO resource. Looks really wrong.
If it has even been tested?

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