aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRex Zhu <Rex.Zhu@amd.com>2016-02-25 04:48:24 -0500
committerAlex Deucher <alexander.deucher@amd.com>2016-02-26 01:33:57 -0500
commit0994c09c0412591ccd7303eec263a9dc5119c653 (patch)
tree5381ca746a4f8523fd2808f74e7d863be541128c
parenta6b91770ded280067418aa9945441a95601f5935 (diff)
drm/amd/powerplay: fix code style warning.
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/powerplay/amd_powerplay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/amd_powerplay.c b/drivers/gpu/drm/amd/powerplay/amd_powerplay.c
index 2ee4190f8c89..0db64231effe 100644
--- a/drivers/gpu/drm/amd/powerplay/amd_powerplay.c
+++ b/drivers/gpu/drm/amd/powerplay/amd_powerplay.c
@@ -606,7 +606,7 @@ static int pp_dpm_set_pp_table(void *handle, const char *buf, size_t size)
606 606
607 if (hwmgr == NULL || hwmgr->hwmgr_func == NULL || 607 if (hwmgr == NULL || hwmgr->hwmgr_func == NULL ||
608 hwmgr->hwmgr_func->set_pp_table == NULL) 608 hwmgr->hwmgr_func->set_pp_table == NULL)
609 return -EINVAL; 609 return -EINVAL;
610 610
611 return hwmgr->hwmgr_func->set_pp_table(hwmgr, buf, size); 611 return hwmgr->hwmgr_func->set_pp_table(hwmgr, buf, size);
612} 612}
@@ -623,7 +623,7 @@ static int pp_dpm_force_clock_level(void *handle,
623 623
624 if (hwmgr == NULL || hwmgr->hwmgr_func == NULL || 624 if (hwmgr == NULL || hwmgr->hwmgr_func == NULL ||
625 hwmgr->hwmgr_func->force_clock_level == NULL) 625 hwmgr->hwmgr_func->force_clock_level == NULL)
626 return -EINVAL; 626 return -EINVAL;
627 627
628 return hwmgr->hwmgr_func->force_clock_level(hwmgr, type, level); 628 return hwmgr->hwmgr_func->force_clock_level(hwmgr, type, level);
629} 629}