]> git.sur5r.net Git - u-boot/blobdiff - drivers/tpm/tpm_tis_infineon.c
treewide: replace with error() with pr_err()
[u-boot] / drivers / tpm / tpm_tis_infineon.c
index ef3ff0dbf67eb6705bf51e444661f8963a7ca4a7..e3e20d899689af107bf1abc9b10b538bb467146a 100644 (file)
@@ -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;
        }