commit | e2c518c6c9987bf832bb1475de38911da96bd3db | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Tue Mar 28 12:36:36 2017 +0300 |
committer | Samuel Ortiz <sameo@linux.intel.com> | Wed Apr 05 10:04:12 2017 +0200 |
tree | d45cb7272e0278c1a4bb42dbd76489ba78574d14 | |
parent | e7f6ccaab127147c52ac4b624c54ad0059bd08e9 [diff] |
NFC: pn544: Convert to use GPIO descriptor Since we got rid of platform data, the driver may use GPIO descriptor directly. This change fixes a potential issue of double freeing GPIOs in ACPI case by converting to devm_gpiod_get(). Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>