diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2017-06-19 13:08:48 +0300 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2017-06-23 00:51:44 +0300 |
commit | d31748be2ba37b29bc051f1b5ce2f30294db2cc1 (patch) | |
tree | fd0f8eaeccc80badc1c75c06ebc364833a22852b /drivers/regulator/pbias-regulator.c | |
parent | 394671e79ee6e9e23ddd673ba5bbae5887f97182 (diff) | |
download | linux-d31748be2ba37b29bc051f1b5ce2f30294db2cc1.tar.xz |
NFC: st21nfca: 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/regulator/pbias-regulator.c')
0 files changed, 0 insertions, 0 deletions