]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drm/amd/powerplay: fix code style warning.
authorRex Zhu <Rex.Zhu@amd.com>
Thu, 25 Feb 2016 09:48:24 +0000 (17:48 +0800)
committerAlex 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

index 2ee4190f8c898b9e426b9ec2c81cbf987bfbdfde..0db64231effe787cc5921bb86316df0573b6effe 100644 (file)
@@ -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);
 }