fwk: Refactor fwk_get_element_count
Refactor fwk_get_element_count to return a status code and store
the actual count in a pointer. This avoids returning -ve value
due to any wrong configuration and use -ve values improperly.
Signed-off-by:
Mina Aziz <mina.aziz@arm.com>
Loading
Please register or sign in to comment