summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJarkko Sakkinen <jarkko.sakkinen@opinsys.com>2026-07-11 09:01:08 -0700
committerJarkko Sakkinen <jarkko@kernel.org>2026-08-21 04:44:52 +0300
commit9d63c22a68b539869f4e43b9dcd76d5d1969bfe6 (patch)
treedb83d878d6e0782f979672e6ccb65f7f7c0ab4e3 /include/linux
parentcabaaa67a9ca3283f7f06bf84e8f970d34ed29d0 (diff)
downloadlinux-next-9d63c22a68b539869f4e43b9dcd76d5d1969bfe6.tar.gz
linux-next-9d63c22a68b539869f4e43b9dcd76d5d1969bfe6.zip
tpm-buf: Remove chip parameter from tpm_buf_append_handle()
Remove the TPM driver chip parameter from the function tpm_buf_append_handle(). The chip parameter is only for error logging which can be done with other facilities like WARN(). Message-ID: <20260125192526.782202-11-jarkko@kernel.org> Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@opinsys.com> Signed-off-by: Ross Philipson <ross.philipson@gmail.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/tpm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/tpm.h b/include/linux/tpm.h
index 3c6a5bcc138a..b357f8971d03 100644
--- a/include/linux/tpm.h
+++ b/include/linux/tpm.h
@@ -235,7 +235,7 @@ void tpm_buf_append_u32(struct tpm_buf *buf, const u32 value);
u8 tpm_buf_read_u8(struct tpm_buf *buf, off_t *offset);
u16 tpm_buf_read_u16(struct tpm_buf *buf, off_t *offset);
u32 tpm_buf_read_u32(struct tpm_buf *buf, off_t *offset);
-void tpm_buf_append_handle(struct tpm_chip *chip, struct tpm_buf *buf, u32 handle);
+void tpm_buf_append_handle(struct tpm_buf *buf, u32 handle);
/*
* Check if TPM device is in the firmware upgrade mode.