diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2017-06-12 18:44:16 +0300 |
---|---|---|
committer | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2017-06-19 03:33:22 +0300 |
commit | 23c3beae581f7cee193c078093a4696040dd380a (patch) | |
tree | 0c924756652bd012d18c972153f19bb88289d5b1 /tools/nfsd | |
parent | d8b5d94538eb1cb18be36048b0ddb9bd2e80a252 (diff) | |
download | linux-23c3beae581f7cee193c078093a4696040dd380a.tar.xz |
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>
Diffstat (limited to 'tools/nfsd')
0 files changed, 0 insertions, 0 deletions