mirror of
git://nv-tegra.nvidia.com/linux-hwpm.git
synced 2025-12-23 01:35:10 +03:00
tegra: hwpm: add wrapper linux os structure
Currently, HWPM parent structure contains linux specific device variables. In an effort to make HWPM driver OS agnostic, create Linux specific wrapper HWPM structure tegra_hwpm_os_linux. Move linux specific variables from tegra_soc_hwpm structure to tegra_hwpm_os_linux structure. Jira THWPM-60 Change-Id: I189cde92c5b83b327ccb467c72dee5756f16481d Signed-off-by: Vedashree Vidwans <vvidwans@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2729700 Reviewed-by: Seema Khowala <seemaj@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
2dd64aec0b
commit
738361e0e2
@@ -34,7 +34,8 @@ static int tegra_hwpm_alloc_ip_register_list_node(
|
||||
{
|
||||
struct hwpm_ip_register_list *new_node = NULL;
|
||||
|
||||
new_node = kzalloc(sizeof(struct hwpm_ip_register_list), GFP_KERNEL);
|
||||
new_node = tegra_hwpm_kzalloc(NULL,
|
||||
sizeof(struct hwpm_ip_register_list));
|
||||
if (new_node == NULL) {
|
||||
tegra_hwpm_err(NULL,
|
||||
"struct hwpm_ip_register_list node allocation failed");
|
||||
|
||||
Reference in New Issue
Block a user