projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6b9177
)
drm/amd/powerplay: fix code style warning.
author
Rex Zhu
<Rex.Zhu@amd.com>
Thu, 25 Feb 2016 09:48:24 +0000
(17:48 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Fri, 26 Feb 2016 06:33:57 +0000
(
01:33
-0500)
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/amd_powerplay.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/powerplay/amd_powerplay.c
b/drivers/gpu/drm/amd/powerplay/amd_powerplay.c
index 2ee4190f8c898b9e426b9ec2c81cbf987bfbdfde..0db64231effe787cc5921bb86316df0573b6effe 100644
(file)
--- 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)
if (hwmgr == NULL || hwmgr->hwmgr_func == NULL ||
hwmgr->hwmgr_func->set_pp_table == NULL)
-
return -EINVAL;
+ return -EINVAL;
return hwmgr->hwmgr_func->set_pp_table(hwmgr, buf, size);
}
@@
-623,7
+623,7
@@
static int pp_dpm_force_clock_level(void *handle,
if (hwmgr == NULL || hwmgr->hwmgr_func == NULL ||
hwmgr->hwmgr_func->force_clock_level == NULL)
-
return -EINVAL;
+ return -EINVAL;
return hwmgr->hwmgr_func->force_clock_level(hwmgr, type, level);
}