diff --git a/drivers/char/tpm/tpm_tis_core.c b/drivers/char/tpm/tpm_tis_core.c index fbd132fc308f5e..aaaa136044aec5 100644 --- a/drivers/char/tpm/tpm_tis_core.c +++ b/drivers/char/tpm/tpm_tis_core.c @@ -24,7 +24,6 @@ #include #include #include -#include #include "tpm.h" #include "tpm_tis_core.h" @@ -1004,7 +1003,6 @@ int tpm_tis_core_init(struct device *dev, struct tpm_tis_data *priv, int irq, const struct tpm_tis_phy_ops *phy_ops, acpi_handle acpi_dev_handle) { - struct reset_control *rstc; u32 vendor; u32 intfcaps; u32 intmask; @@ -1036,20 +1034,6 @@ int tpm_tis_core_init(struct device *dev, struct tpm_tis_data *priv, int irq, dev_set_drvdata(&chip->dev, priv); - rstc = reset_control_get_optional_exclusive(dev, NULL); - if (IS_ERR(rstc)) { - dev_err(dev, "Cannot get reset control: %ld\n", PTR_ERR(rstc)); - return PTR_ERR(rstc); - } - - rc = reset_control_deassert(rstc); - reset_control_put(rstc); - if (rc) { - dev_err(dev, "Cannot deassert reset control: %d\n", rc); - return rc; - } - - rc = tpm_tis_read32(priv, TPM_DID_VID(0), &vendor); if (rc < 0) return rc;