diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2023-05-25 23:24:24 +0300 |
---|---|---|
committer | Jarkko Sakkinen <jarkko@kernel.org> | 2023-07-28 21:12:40 +0300 |
commit | be6f48a7c8e44a15ffc95f6f323dec548a4b990e (patch) | |
tree | 90d162089c4a6f17b18c8cd6e6329794279387e0 /drivers/char/tpm/tpm_tis_i2c.c | |
parent | 2d7f105edbb3b2be5ffa4d833abbf9b6965e9ce7 (diff) | |
download | linux-be6f48a7c8e44a15ffc95f6f323dec548a4b990e.tar.xz |
tpm: Switch i2c drivers back to use .probe()
After commit b8a1a4cd5a98 ("i2c: Provide a temporary .probe_new()
call-back type"), all drivers being converted to .probe_new() and then
03c835f498b5 ("i2c: Switch .probe() to not take an id parameter")
convert back to (the new) .probe() to be able to eventually drop
.probe_new() from struct i2c_driver.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'drivers/char/tpm/tpm_tis_i2c.c')
-rw-r--r-- | drivers/char/tpm/tpm_tis_i2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/tpm/tpm_tis_i2c.c b/drivers/char/tpm/tpm_tis_i2c.c index 82fda488e98b..a897402cc36a 100644 --- a/drivers/char/tpm/tpm_tis_i2c.c +++ b/drivers/char/tpm/tpm_tis_i2c.c @@ -394,7 +394,7 @@ static struct i2c_driver tpm_tis_i2c_driver = { .pm = &tpm_tis_pm, .of_match_table = of_match_ptr(of_tis_i2c_match), }, - .probe_new = tpm_tis_i2c_probe, + .probe = tpm_tis_i2c_probe, .remove = tpm_tis_i2c_remove, .id_table = tpm_tis_i2c_id, }; |