summaryrefslogtreecommitdiff
path: root/drivers/tpm/tpm_tis_infineon.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tpm/tpm_tis_infineon.c')
-rw-r--r--drivers/tpm/tpm_tis_infineon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tpm/tpm_tis_infineon.c b/drivers/tpm/tpm_tis_infineon.c
index ef3ff0dbf6..e3e20d8996 100644
--- a/drivers/tpm/tpm_tis_infineon.c
+++ b/drivers/tpm/tpm_tis_infineon.c
@@ -539,7 +539,7 @@ static int tpm_tis_i2c_init(struct udevice *dev)
}
if (chip->chip_type != UNKNOWN && vendor != expected_did_vid) {
- error("Vendor id did not match! ID was %08x\n", vendor);
+ pr_err("Vendor id did not match! ID was %08x\n", vendor);
return -ENODEV;
}