SPM: Remove the tfm_spm_get_running_partition()

This API simply returns GET_CURRENT_COMPONENT().
Not necessary to keep it as a function.

This patch removes it and replace with GET_CURRENT_COMPONENT().
This patch also removes the tfm_spm_get_caller_privilege_mode().

Change-Id: Iec90800b43838205b42fecf14775d16cad9f3b26
Signed-off-by: Kevin Peng <kevin.peng@arm.com>
4 files changed