From c32aa0170d258f6db5252cc319a58b626bd8f7e0 Mon Sep 17 00:00:00 2001 From: Deepak Nibade Date: Mon, 22 May 2017 12:19:38 +0530 Subject: gpu: nvgpu: remove clk_common.c clk/clk_common.c includes some linux specific clock calls which can be easily replaced Move linux specific call to platform file Rest of the APIs are removed by directly substituting API code into caller function Jira NVGPU-49 Change-Id: Ia70e7a65c877649699b5d064683c34c0cb696d2e Signed-off-by: Deepak Nibade Reviewed-on: http://git-master/r/1483862 GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom --- drivers/gpu/nvgpu/gk20a/clk_gk20a.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'drivers/gpu/nvgpu/gk20a/clk_gk20a.h') diff --git a/drivers/gpu/nvgpu/gk20a/clk_gk20a.h b/drivers/gpu/nvgpu/gk20a/clk_gk20a.h index 76f5de43..65f82263 100644 --- a/drivers/gpu/nvgpu/gk20a/clk_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/clk_gk20a.h @@ -105,12 +105,6 @@ struct clk_gk20a { struct gpu_ops; -/* APIs used for both GK20A and GM20B */ -unsigned long gk20a_clk_get_rate(struct gk20a *g); -int gk20a_clk_set_rate(struct gk20a *g, unsigned long rate); -long gk20a_clk_round_rate(struct gk20a *g, unsigned long rate); -struct clk *gk20a_clk_get(struct gk20a *g); - #define KHZ 1000 #define MHZ 1000000 -- cgit v1.2.2