diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2017-06-19 13:08:57 +0300 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2017-06-23 00:51:45 +0300 |
commit | c745120e343abfbcf5c9239e09cae4a3cf651fa0 (patch) | |
tree | 2cce550af75829f85fe14dad6f2ae5a851965d6d /drivers/nfc/s3fwrn5/nci.c | |
parent | 85d23e772931e347c145fa78db3c48f29e169838 (diff) | |
download | linux-c745120e343abfbcf5c9239e09cae4a3cf651fa0.tar.xz |
NFC: st-nci: Get rid of code duplication in ->probe()
Since OF and ACPI case almost the same get rid of code duplication
by moving gpiod_get() calls directly to ->probe().
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/nfc/s3fwrn5/nci.c')
0 files changed, 0 insertions, 0 deletions