From 3f4919ef327c6b4fb5ba517dbae5ca658a850dcb Mon Sep 17 00:00:00 2001 From: Sourab Gupta Date: Wed, 20 Dec 2017 16:16:45 +0530 Subject: gpu: nvgpu: replace pr_err with nvgpu_err Replace the linux specific pr_err with nvgpu_err function Change-Id: I856a3030c62009b078a8cdfc0050b541a66e6eaa Signed-off-by: Sourab Gupta Reviewed-on: https://git-master.nvidia.com/r/1626400 Reviewed-by: svc-mobile-coverity GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gk20a/channel_gk20a.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c index b6543dca..3fe119d7 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c @@ -141,7 +141,7 @@ int gk20a_channel_get_timescale_from_timeslice(struct gk20a *g, /* time slice register is only 18bits long */ if ((value << shift) >= 1<<19) { - pr_err("Requested timeslice value is clamped to 18 bits\n"); + nvgpu_err(g, "Requested timeslice value is clamped to 18 bits\n"); value = 255; shift = 10; } -- cgit v1.2.2