refactor(memory share): improve naming of sender_orig_mode

Change for the name memory_to_attributes to sender_orig_mode in
the ffa_retrieve_check_transition function as this name is clearer
and more consistent with other uses throughtout the code base.

Signed-off-by: Daniel Boulby <daniel.boulby@arm.com>
Change-Id: Iaaf8191c4563eb9e8746c419fe1d35a36613b983
diff --git a/src/ffa_memory.c b/src/ffa_memory.c
index ed36e73..92dee8f 100644
--- a/src/ffa_memory.c
+++ b/src/ffa_memory.c
@@ -916,7 +916,7 @@
 	struct vm_locked to, uint32_t share_func,
 	struct ffa_memory_region_constituent **fragments,
 	uint32_t *fragment_constituent_counts, uint32_t fragment_count,
-	uint32_t memory_to_attributes, uint32_t *to_mode, bool memory_protected,
+	uint32_t sender_orig_mode, uint32_t *to_mode, bool memory_protected,
 	enum ffa_map_action *map_action)
 {
 	uint32_t orig_to_mode;
@@ -931,7 +931,7 @@
 	}
 
 	/* Find the appropriate new mode. */
-	*to_mode = memory_to_attributes;
+	*to_mode = sender_orig_mode;
 
 	if (share_func == FFA_MEM_RECLAIM_32) {
 		/*