commit | 23c3beae581f7cee193c078093a4696040dd380a | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Mon Jun 12 18:44:16 2017 +0300 |
committer | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | Mon Jun 19 02:33:22 2017 +0200 |
tree | 0c924756652bd012d18c972153f19bb88289d5b1 | |
parent | d8b5d94538eb1cb18be36048b0ddb9bd2e80a252 [diff] |
tpm/st33zp24: Switch to devm_acpi_dev_add_driver_gpios() Switch to use managed variant of acpi_dev_add_driver_gpios() to simplify error path and fix potentially wrong assignment if ->probe() fails. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Jarkko Sakkinen <jarkko.sakkine@linux.intel.com> Tested-by: Jarkko Sakkinen <jarkko.sakkine@linux.intel.com> (compilation) Signed-off-by: Jarkko Sakkinen <jarkko.sakkine@linux.intel.com>