]> www.infradead.org Git - users/willy/pagecache.git/commit
char: tpm: cr50: Use generic request/relinquish locality ops
authorJan Dabros <jsd@semihalf.com>
Thu, 10 Oct 2024 09:15:58 +0000 (09:15 +0000)
committerJarkko Sakkinen <jarkko@kernel.org>
Thu, 21 Nov 2024 22:48:27 +0000 (00:48 +0200)
commit932e3a5e1ea31712c91e6b4c64d0c7f675315ab4
tree7b4082202866ba3200e7894e5887fc16d3bbef24
parent02e9bda80d66cdd53364b9b32166ac0be1ced58f
char: tpm: cr50: Use generic request/relinquish locality ops

Instead of using static functions tpm_cr50_request_locality and
tpm_cr50_release_locality register callbacks from tpm class chip->ops
created for this purpose.

Signed-off-by: Jan Dabros <jsd@semihalf.com>
Signed-off-by: Grzegorz Bernacki <bernacki@chromium.org>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
drivers/char/tpm/tpm_tis_i2c_cr50.c