summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/char/tpm/tpm_i2c_stm_st33.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/tpm/tpm_i2c_stm_st33.c b/drivers/char/tpm/tpm_i2c_stm_st33.c
index e643c8627b7d..86203b022d13 100644
--- a/drivers/char/tpm/tpm_i2c_stm_st33.c
+++ b/drivers/char/tpm/tpm_i2c_stm_st33.c
@@ -720,7 +720,7 @@ tpm_stm_i2c_probe(struct i2c_client *client, const struct i2c_device_id *id)
struct tpm_stm_dev *tpm_dev;
if (!client) {
- dev_info(&client->dev, "%s: i2c client is NULL. Device not accessible.\n",
+ pr_info("%s: i2c client is NULL. Device not accessible.\n",
__func__);
return -ENODEV;
}