]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
tpm_crb_ffa: Fix typos in function name
authorPrachotan Bathi <prachotan.bathi@arm.com>
Tue, 8 Jul 2025 22:51:49 +0000 (17:51 -0500)
committerJarkko Sakkinen <jarkko@kernel.org>
Tue, 22 Jul 2025 23:30:05 +0000 (02:30 +0300)
Rename *recieve as  __tpm_crb_ffa_send_receive

[jarkko: polished commit message]
Signed-off-by: Prachotan Bathi <prachotan.bathi@arm.com>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
drivers/char/tpm/tpm_crb_ffa.c

index 9c6a2988a5989b209b3ae4f7c4e09e5c06151cce..a4e7fcfa223a54073962ca7aca199849f0c192a9 100644 (file)
@@ -189,7 +189,7 @@ int tpm_crb_ffa_init(void)
 }
 EXPORT_SYMBOL_GPL(tpm_crb_ffa_init);
 
-static int __tpm_crb_ffa_send_recieve(unsigned long func_id,
+static int __tpm_crb_ffa_send_receive(unsigned long func_id,
                                      unsigned long a0,
                                      unsigned long a1,
                                      unsigned long a2)
@@ -262,7 +262,7 @@ static int tpm_crb_ffa_get_interface_version(u16 *major, u16 *minor)
 
        guard(mutex)(&tpm_crb_ffa->msg_data_lock);
 
-       rc = __tpm_crb_ffa_send_recieve(CRB_FFA_GET_INTERFACE_VERSION, 0x00, 0x00, 0x00);
+       rc = __tpm_crb_ffa_send_receive(CRB_FFA_GET_INTERFACE_VERSION, 0x00, 0x00, 0x00);
        if (!rc) {
                if (ffa_partition_supports_direct_req2_recv(tpm_crb_ffa->ffa_dev)) {
                        *major = CRB_FFA_MAJOR_VERSION(tpm_crb_ffa->direct_msg_data2.data[1]);
@@ -299,7 +299,7 @@ int tpm_crb_ffa_start(int request_type, int locality)
 
        guard(mutex)(&tpm_crb_ffa->msg_data_lock);
 
-       return __tpm_crb_ffa_send_recieve(CRB_FFA_START, request_type, locality, 0x00);
+       return __tpm_crb_ffa_send_receive(CRB_FFA_START, request_type, locality, 0x00);
 }
 EXPORT_SYMBOL_GPL(tpm_crb_ffa_start);