mirror of
git://nv-tegra.nvidia.com/linux-hwpm.git
synced 2025-12-24 02:07:34 +03:00
tegra: hwpm: use consistent function names
- Update common function names to tegra_hwpm_* instead of tegra_soc_hwpm_*. - Update header guards to follow similar naming guidelines. Jira THWPM-41 Change-Id: If5ca4f136f5cb6659a99bae42030817142bd242c Signed-off-by: Vedashree Vidwans <vvidwans@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2675469 Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com> Reviewed-by: Seema Khowala <seemaj@nvidia.com> Reviewed-by: Vasuki Shankar <vasukis@nvidia.com> GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
mobile promotions
parent
edb9e2c245
commit
9adf6a080d
@@ -31,7 +31,7 @@
|
||||
#include <tegra_hwpm_common.h>
|
||||
#include <hal/t234/t234_hwpm_init.h>
|
||||
|
||||
int tegra_soc_hwpm_init_chip_info(struct tegra_soc_hwpm *hwpm)
|
||||
int tegra_hwpm_init_chip_info(struct tegra_soc_hwpm *hwpm)
|
||||
{
|
||||
int err = -EINVAL;
|
||||
|
||||
@@ -70,7 +70,7 @@ int tegra_soc_hwpm_init_chip_info(struct tegra_soc_hwpm *hwpm)
|
||||
return err;
|
||||
}
|
||||
|
||||
int tegra_soc_hwpm_setup_sw(struct tegra_soc_hwpm *hwpm)
|
||||
int tegra_hwpm_setup_sw(struct tegra_soc_hwpm *hwpm)
|
||||
{
|
||||
int ret = 0;
|
||||
|
||||
@@ -97,7 +97,7 @@ fail:
|
||||
return ret;
|
||||
}
|
||||
|
||||
int tegra_soc_hwpm_setup_hw(struct tegra_soc_hwpm *hwpm)
|
||||
int tegra_hwpm_setup_hw(struct tegra_soc_hwpm *hwpm)
|
||||
{
|
||||
int ret = 0;
|
||||
|
||||
@@ -169,7 +169,7 @@ int tegra_hwpm_disable_triggers(struct tegra_soc_hwpm *hwpm)
|
||||
return hwpm->active_chip->disable_triggers(hwpm);
|
||||
}
|
||||
|
||||
int tegra_soc_hwpm_release_hw(struct tegra_soc_hwpm *hwpm)
|
||||
int tegra_hwpm_release_hw(struct tegra_soc_hwpm *hwpm)
|
||||
{
|
||||
int ret = 0;
|
||||
|
||||
@@ -219,7 +219,7 @@ fail:
|
||||
return ret;
|
||||
}
|
||||
|
||||
void tegra_soc_hwpm_release_sw_components(struct tegra_soc_hwpm *hwpm)
|
||||
void tegra_hwpm_release_sw_components(struct tegra_soc_hwpm *hwpm)
|
||||
{
|
||||
tegra_hwpm_fn(hwpm, " ");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user