Skip to content
Commit d0ca6b58 authored by Leandro Belli's avatar Leandro Belli 👾 Committed by Girish Pathak
Browse files

scmi_clock: clean up policy functions



This patch cleans up the policy functions from the `scmi_clock` module.
As seen in `c49f0437`, due to the code complexity of the function can
potentially introduce defects that can be difficult to spot and maintain.
Refactoring `mod_scmi_clock_config_set_policy` function also helps to
reduce the number of function calls and processing time, which can
improve performance and efficiency.

Furthermore, this commit refactors the module by removing all unnecessary
parameters in helper functions.

In addition, removing the FWK_WEAK to enforce the current policy until
further requirements.

Signed-off-by: Leandro Belli's avatarLeandro Belli <leandro.belli@arm.com>
Signed-off-by: Mohamed Omar Asaker's avatarMohamed Omar Asaker <mohamed.omarasaker@arm.com>
Change-Id: I03edb2306d6e7acd1cd77168a6d5144fa2c291fa
parent 19e4eea5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment