commit | c745120e343abfbcf5c9239e09cae4a3cf651fa0 | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Mon Jun 19 13:08:57 2017 +0300 |
committer | Samuel Ortiz <sameo@linux.intel.com> | Thu Jun 22 23:51:45 2017 +0200 |
tree | 2cce550af75829f85fe14dad6f2ae5a851965d6d | |
parent | 85d23e772931e347c145fa78db3c48f29e169838 [diff] |
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>