summaryrefslogtreecommitdiffstats
path: root/drivers/char/tpm/tpm1-cmd.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2022-12-07 02:44:57 +0100
committerJarkko Sakkinen <jarkko@kernel.org>2022-12-08 17:20:47 +0100
commiteaabc245b02a0e0063068178624d2fc12ba91d69 (patch)
treeed9188fcc3e0882394acca882304b3272cad5d67 /drivers/char/tpm/tpm1-cmd.c
parenttpm/tpm_crb: Fix error message in __crb_relinquish_locality() (diff)
downloadlinux-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