Skip to content

Commit 8b32509

Browse files
PrachotanReddyjarkkojs
authored andcommitted
tpm_crb_ffa: Fix typos in function name
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>
1 parent d4640c3 commit 8b32509

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

drivers/char/tpm/tpm_crb_ffa.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ int tpm_crb_ffa_init(void)
189189
}
190190
EXPORT_SYMBOL_GPL(tpm_crb_ffa_init);
191191

192-
static int __tpm_crb_ffa_send_recieve(unsigned long func_id,
192+
static int __tpm_crb_ffa_send_receive(unsigned long func_id,
193193
unsigned long a0,
194194
unsigned long a1,
195195
unsigned long a2)
@@ -262,7 +262,7 @@ static int tpm_crb_ffa_get_interface_version(u16 *major, u16 *minor)
262262

263263
guard(mutex)(&tpm_crb_ffa->msg_data_lock);
264264

265-
rc = __tpm_crb_ffa_send_recieve(CRB_FFA_GET_INTERFACE_VERSION, 0x00, 0x00, 0x00);
265+
rc = __tpm_crb_ffa_send_receive(CRB_FFA_GET_INTERFACE_VERSION, 0x00, 0x00, 0x00);
266266
if (!rc) {
267267
if (ffa_partition_supports_direct_req2_recv(tpm_crb_ffa->ffa_dev)) {
268268
*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)
299299

300300
guard(mutex)(&tpm_crb_ffa->msg_data_lock);
301301

302-
return __tpm_crb_ffa_send_recieve(CRB_FFA_START, request_type, locality, 0x00);
302+
return __tpm_crb_ffa_send_receive(CRB_FFA_START, request_type, locality, 0x00);
303303
}
304304
EXPORT_SYMBOL_GPL(tpm_crb_ffa_start);
305305

0 commit comments

Comments
 (0)