aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
diff options
context:
space:
mode:
authorMatthias Kaehlcke <[email protected]>2018-02-07 19:10:17 +0000
committerAlex Deucher <[email protected]>2018-02-19 19:19:42 +0000
commit7227c911303db23404ebb126928e55cfad8e2545 (patch)
tree52ad30fc05ed35f21d600cbc9dbc842e6f704fab /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
parentdrm/amd/powerplay: Fix enum mismatch (diff)
downloadkernel-7227c911303db23404ebb126928e55cfad8e2545.tar.gz
kernel-7227c911303db23404ebb126928e55cfad8e2545.zip
drm/amd/powerplay: Remove extra pair of parentheses
The double parentheses are not needed. Removing them fixes the following warning when building with clang: drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c:419:29: error: equality comparison with extraneous parentheses [-Werror,-Wparentheses-equality] if ((data->vdd_gfx_control == SMU7_VOLTAGE_CONTROL_BY_SVID2)) { Reviewed-by: Guenter Roeck <[email protected]> Signed-off-by: Matthias Kaehlcke <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions