mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: Remove unnecessary use of dev_name()
Move the name field from struct gpu_ops up to struct gk20a. The field is not a function op, so it doesn't belong in gpu_ops. Replace all uses of dev_name() with use of g->name when possible. JIRA NVGPU-16 Change-Id: I053aeb256f591af2ea9ef5094a20e33a395cdd33 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/1328535 Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com> GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
mobile promotions
parent
1bce980d09
commit
9773dbf905
@@ -203,7 +203,7 @@ int gv11b_init_hal(struct gk20a *g)
|
||||
gv11b_init_regops(gops);
|
||||
gv11b_init_therm_ops(gops);
|
||||
gk20a_init_tsg_ops(gops);
|
||||
gops->name = "gv11b";
|
||||
g->name = "gv11b";
|
||||
gops->chip_init_gpu_characteristics = gv11b_init_gpu_characteristics;
|
||||
gops->get_litter_value = gv11b_get_litter_value;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user