linux/drivers/char/tpm/st33zp24
Andy Shevchenko 23c3beae58 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>
2017-06-19 02:33:22 +02:00
..
Kconfig tpm/st33zp24: Auto-select core module 2016-06-25 17:21:42 +03:00
Makefile tpm/st33zp24/spi: Add st33zp24 spi phy 2015-03-18 22:43:06 +01:00
i2c.c tpm/st33zp24: Switch to devm_acpi_dev_add_driver_gpios() 2017-06-19 02:33:22 +02:00
spi.c tpm/st33zp24: Switch to devm_acpi_dev_add_driver_gpios() 2017-06-19 02:33:22 +02:00
st33zp24.c tpm: make check_locality return bool 2017-04-03 22:46:02 +03:00
st33zp24.h tpm: drop 'locality' from struct tpm_vendor_specific 2016-06-25 17:26:35 +03:00