diff options
Diffstat (limited to 'drivers/gpu/nvgpu/therm/thrmdev.c')
-rw-r--r-- | drivers/gpu/nvgpu/therm/thrmdev.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/therm/thrmdev.c b/drivers/gpu/nvgpu/therm/thrmdev.c index 199343e0..4772b628 100644 --- a/drivers/gpu/nvgpu/therm/thrmdev.c +++ b/drivers/gpu/nvgpu/therm/thrmdev.c | |||
@@ -124,7 +124,7 @@ static u32 devinit_get_therm_device_table(struct gk20a *g, | |||
124 | therm_device_size, therm_device_data.boardobj.type); | 124 | therm_device_size, therm_device_data.boardobj.type); |
125 | 125 | ||
126 | if (!boardobj) { | 126 | if (!boardobj) { |
127 | gk20a_err(dev_from_gk20a(g), | 127 | nvgpu_err(g, |
128 | "unable to create thermal device for %d type %d", | 128 | "unable to create thermal device for %d type %d", |
129 | index, therm_device_data.boardobj.type); | 129 | index, therm_device_data.boardobj.type); |
130 | status = -EINVAL; | 130 | status = -EINVAL; |
@@ -135,7 +135,7 @@ static u32 devinit_get_therm_device_table(struct gk20a *g, | |||
135 | boardobj, obj_index); | 135 | boardobj, obj_index); |
136 | 136 | ||
137 | if (status) { | 137 | if (status) { |
138 | gk20a_err(dev_from_gk20a(g), | 138 | nvgpu_err(g, |
139 | "unable to insert thermal device boardobj for %d", index); | 139 | "unable to insert thermal device boardobj for %d", index); |
140 | status = -EINVAL; | 140 | status = -EINVAL; |
141 | goto done; | 141 | goto done; |
@@ -158,7 +158,7 @@ u32 therm_device_sw_setup(struct gk20a *g) | |||
158 | /* Construct the Super Class and override the Interfaces */ | 158 | /* Construct the Super Class and override the Interfaces */ |
159 | status = boardobjgrpconstruct_e32(&g->therm_pmu.therm_deviceobjs.super); | 159 | status = boardobjgrpconstruct_e32(&g->therm_pmu.therm_deviceobjs.super); |
160 | if (status) { | 160 | if (status) { |
161 | gk20a_err(dev_from_gk20a(g), | 161 | nvgpu_err(g, |
162 | "error creating boardobjgrp for therm devices, status - 0x%x", | 162 | "error creating boardobjgrp for therm devices, status - 0x%x", |
163 | status); | 163 | status); |
164 | goto done; | 164 | goto done; |
@@ -179,7 +179,7 @@ u32 therm_device_sw_setup(struct gk20a *g) | |||
179 | status = BOARDOBJGRP_PMU_CMD_GRP_SET_CONSTRUCT(g, pboardobjgrp, | 179 | status = BOARDOBJGRP_PMU_CMD_GRP_SET_CONSTRUCT(g, pboardobjgrp, |
180 | therm, THERM, therm_device, THERM_DEVICE); | 180 | therm, THERM, therm_device, THERM_DEVICE); |
181 | if (status) { | 181 | if (status) { |
182 | gk20a_err(dev_from_gk20a(g), | 182 | nvgpu_err(g, |
183 | "error constructing PMU_BOARDOBJ_CMD_GRP_SET interface - 0x%x", | 183 | "error constructing PMU_BOARDOBJ_CMD_GRP_SET interface - 0x%x", |
184 | status); | 184 | status); |
185 | goto done; | 185 | goto done; |