summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b/pmu_gp10b.c
diff options
context:
space:
mode:
authorSeshendra Gadagottu <sgadagottu@nvidia.com>2015-12-08 18:43:39 -0500
committerDeepak Nibade <dnibade@nvidia.com>2016-12-27 04:52:10 -0500
commit4c5bc9c93b86d9de022d6baff343217f1d047a62 (patch)
tree6ec580dc9cde0fe213bd0dd0b9d4cf7898094ad0 /drivers/gpu/nvgpu/gp10b/pmu_gp10b.c
parentacc62a236fa631c8bd75ac9c6234fc9ae4187f38 (diff)
gpu: nvgpu: gp10b: clean-up pmu init operations
Removed unwanted initlization of function pointer. Bug 200157852 Change-Id: I3b44ccce366f1b72c3ff769a7b9ab350bb2c0066 Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: http://git-master/r/843218 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/pmu_gp10b.c')
-rw-r--r--drivers/gpu/nvgpu/gp10b/pmu_gp10b.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/pmu_gp10b.c b/drivers/gpu/nvgpu/gp10b/pmu_gp10b.c
index dc7539a8..00701a50 100644
--- a/drivers/gpu/nvgpu/gp10b/pmu_gp10b.c
+++ b/drivers/gpu/nvgpu/gp10b/pmu_gp10b.c
@@ -1,7 +1,7 @@
1/* 1/*
2 * GP10B PMU 2 * GP10B PMU
3 * 3 *
4 * Copyright (c) 2015, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2015-2016, NVIDIA CORPORATION. All rights reserved.
5* 5*
6 * This program is free software; you can redistribute it and/or modify it 6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms and conditions of the GNU General Public License, 7 * under the terms and conditions of the GNU General Public License,
@@ -332,8 +332,6 @@ void gp10b_init_pmu_ops(struct gpu_ops *gops)
332 gops->pmu.load_lsfalcon_ucode = gp10b_load_falcon_ucode; 332 gops->pmu.load_lsfalcon_ucode = gp10b_load_falcon_ucode;
333 } else { 333 } else {
334 gk20a_init_pmu_ops(gops); 334 gk20a_init_pmu_ops(gops);
335 gops->pmu.pmu_setup_hw_and_bootstrap =
336 gm20b_init_nspmu_setup_hw1;
337 gops->pmu.load_lsfalcon_ucode = NULL; 335 gops->pmu.load_lsfalcon_ucode = NULL;
338 gops->pmu.init_wpr_region = NULL; 336 gops->pmu.init_wpr_region = NULL;
339 gops->pmu.pmu_setup_hw_and_bootstrap = gp10b_init_pmu_setup_hw1; 337 gops->pmu.pmu_setup_hw_and_bootstrap = gp10b_init_pmu_setup_hw1;