diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2022-12-07 02:44:57 +0100 |
---|---|---|
committer | Jarkko Sakkinen <jarkko@kernel.org> | 2022-12-08 17:20:47 +0100 |
commit | eaabc245b02a0e0063068178624d2fc12ba91d69 (patch) | |
tree | ed9188fcc3e0882394acca882304b3272cad5d67 /drivers/char/tpm/tpm1-cmd.c | |
parent | tpm/tpm_crb: Fix error message in __crb_relinquish_locality() (diff) | |
download | linux-eaabc245b02a0e0063068178624d2fc12ba91d69.tar.xz linux-eaabc245b02a0e0063068178624d2fc12ba91d69.zip |
tpm: st33zp24: remove pointless checks on probe
Remove tests for SPI device or I2C client to be non-NULL because
driver core will never call driver's probe method without having
a valid device structure.
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
Diffstat (limited to 'drivers/char/tpm/tpm1-cmd.c')
0 files changed, 0 insertions, 0 deletions