msm: thermal: Remove unnecessary parentheses in do_vdd_mx
Clang warns:
../drivers/thermal/msm_thermal.c:2806:15: warning: equality comparison
with extraneous parentheses [-Wparentheses-equality]
if ((dis_cnt == thresh[MSM_VDD_MX_RESTRICTION].thresh_ct)) {
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/thermal/msm_thermal.c:2806:15: note: remove extraneous
parentheses around the comparison to silence this warning
if ((dis_cnt == thresh[MSM_VDD_MX_RESTRICTION].thresh_ct)) {
~ ^ ~
../drivers/thermal/msm_thermal.c:2806:15: note: use '=' to turn this
equality comparison into an assignment
if ((dis_cnt == thresh[MSM_VDD_MX_RESTRICTION].thresh_ct)) {
^~
=
Fixes:
b68798fafa4e ("soc: qcom: Snapshot of thermal/LMH drivers")
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>