char: tpm: cr50_i2c: convert to new probe interface
authorAdrian Ratiu <adrian.ratiu@collabora.com>
Tue, 27 Jul 2021 17:13:13 +0000 (20:13 +0300)
committerJarkko Sakkinen <jarkko@kernel.org>
Mon, 23 Aug 2021 16:55:42 +0000 (19:55 +0300)
commit6824f8554a98cba516c3bfd5f9064d7ba0501644
treec18e2b1aee53a73697256c05ca574b7308300e9b
parent847fdae1579f4ee930b01f24a7847b8043bf468c
char: tpm: cr50_i2c: convert to new probe interface

Way back when this driver was written the I2C framework
used to insist an ID table be defined even if the driver
did not use it in favor of ACPI/OF matching, so it was
added just to placate the hard I2C framework requirement.

This is no longer the case so we can drop the table and
also convert the driver to the new probe interface.

Signed-off-by: Adrian Ratiu <adrian.ratiu@collabora.com>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
drivers/char/tpm/tpm_tis_i2c_cr50.c