From: Rex Zhu Date: Thu, 25 Feb 2016 09:48:24 +0000 (+0800) Subject: drm/amd/powerplay: fix code style warning. X-Git-Tag: next-20160308~70^2^2~7 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0994c09c0412591ccd7303eec263a9dc5119c653;p=karo-tx-linux.git drm/amd/powerplay: fix code style warning. Signed-off-by: Rex Zhu Reviewed-by: Alex Deucher --- 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) 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); }