]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tpm_crb: Clean-up and refactor check for idle support
authorStuart Yoder <stuart.yoder@arm.com>
Wed, 12 Mar 2025 21:58:25 +0000 (16:58 -0500)
committerJarkko Sakkinen <jarkko@kernel.org>
Thu, 27 Mar 2025 13:34:05 +0000 (15:34 +0200)
commite0ad11e703e6f771ae1566e19e49380b4467818d
tree5b70cca716778d427dc723af5d9a8cd812d5e3cf
parenteb93f0734ef1bc5657313bfb55cda58763363603
tpm_crb: Clean-up and refactor check for idle support

Refactor TPM idle check to tpm_crb_has_idle(), and reduce paraentheses
usage in start method checks

[jarkko: Fine-tuned the commit message.]

Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Stuart Yoder <stuart.yoder@arm.com>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
drivers/char/tpm/tpm_crb.c