summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Bestas <mkbestas@lineageos.org>2020-07-23 02:20:58 +0300
committerMichael Bestas <mkbestas@lineageos.org>2020-07-23 02:31:21 +0300
commit0ec0622ec07cf7923bd0cb7a783443ee5fa87795 (patch)
tree33ae2757cbacf51b6e96df0e1e7ff4bbed4cac98
parent7ce6d674f3e2848e14c7c0b5791875fd91f1d134 (diff)
Revert "msm: thermal: Remove unnecessary parentheses in do_vdd_mx"
This reverts commit a17d1e1927264aafccdee1755a2067775ca46b01.
-rw-r--r--drivers/thermal/msm_thermal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/msm_thermal.c b/drivers/thermal/msm_thermal.c
index b05a51c1c31f..9f47a1986f85 100644
--- a/drivers/thermal/msm_thermal.c
+++ b/drivers/thermal/msm_thermal.c
@@ -2803,7 +2803,7 @@ static int do_vdd_mx(void)
}
}
- if (dis_cnt == thresh[MSM_VDD_MX_RESTRICTION].thresh_ct) {
+ if ((dis_cnt == thresh[MSM_VDD_MX_RESTRICTION].thresh_ct)) {
ret = remove_vdd_mx_restriction();
if (ret)
pr_err("Failed to remove vdd mx restriction\n");