refactor(notifications): set functions

Refactor notifications set functions from vm module to prepare for
adding framework notifications.

Change-Id: I7cf463bddbffcac7c4b8642e57854b0c9cd4bf4d
Signed-off-by: J-Alves <joao.alves@arm.com>
diff --git a/src/api.c b/src/api.c
index 2b0a352..594c9e8 100644
--- a/src/api.c
+++ b/src/api.c
@@ -3038,8 +3038,10 @@
 	}
 
 	/* Set notifications pending. */
-	vm_notifications_set(receiver_locked, plat_ffa_is_vm_id(sender_vm_id),
-			     notifications, vcpu_id, is_per_vcpu);
+	vm_notifications_partition_set_pending(
+		receiver_locked, plat_ffa_is_vm_id(sender_vm_id), notifications,
+		vcpu_id, is_per_vcpu);
+
 	dlog_verbose("Set the notifications: %x.\n", notifications);
 
 	if ((FFA_NOTIFICATIONS_FLAG_DELAY_SRI & flags) == 0) {