mirror of
git://nv-tegra.nvidia.com/linux-hwpm.git
synced 2025-12-23 18:01:07 +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
@@ -18,7 +18,7 @@
|
||||
|
||||
#define LOG_BUF_SIZE 160
|
||||
|
||||
static void tegra_soc_hwpm_print(const char *func, int line,
|
||||
static void tegra_hwpm_print(const char *func, int line,
|
||||
int type, const char *log)
|
||||
{
|
||||
switch (type) {
|
||||
@@ -33,7 +33,7 @@ static void tegra_soc_hwpm_print(const char *func, int line,
|
||||
}
|
||||
}
|
||||
|
||||
void tegra_soc_err_impl(struct tegra_soc_hwpm *hwpm,
|
||||
void tegra_hwpm_err_impl(struct tegra_soc_hwpm *hwpm,
|
||||
const char *func, int line, const char *fmt, ...)
|
||||
{
|
||||
char log[LOG_BUF_SIZE];
|
||||
@@ -43,7 +43,7 @@ void tegra_soc_err_impl(struct tegra_soc_hwpm *hwpm,
|
||||
(void) vsnprintf(log, LOG_BUF_SIZE, fmt, args);
|
||||
va_end(args);
|
||||
|
||||
tegra_soc_hwpm_print(func, line, TEGRA_HWPM_ERROR, log);
|
||||
tegra_hwpm_print(func, line, TEGRA_HWPM_ERROR, log);
|
||||
}
|
||||
|
||||
void tegra_hwpm_dbg_impl(struct tegra_soc_hwpm *hwpm,
|
||||
@@ -60,5 +60,5 @@ void tegra_hwpm_dbg_impl(struct tegra_soc_hwpm *hwpm,
|
||||
(void) vsnprintf(log, LOG_BUF_SIZE, fmt, args);
|
||||
va_end(args);
|
||||
|
||||
tegra_soc_hwpm_print(func, line, TEGRA_HWPM_DEBUG, log);
|
||||
tegra_hwpm_print(func, line, TEGRA_HWPM_DEBUG, log);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user