[PATCH v8 9/9] thermal/drivers/exynos: Fix some coding style issue
From: Anand Moon
Date: Sat Feb 14 2026 - 13:22:43 EST
Fix several coding style issues reported by checkpatch.pl to improve
code readability and maintainability:
- Remove unnecessary parentheses in sanitize_temp_error() during
logical comparisons.
- Adjust indentation to align function arguments correctly.
Signed-off-by: Anand Moon <linux.amoon@xxxxxxxxx>
---
drivers/thermal/samsung/exynos_tmu.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/thermal/samsung/exynos_tmu.c b/drivers/thermal/samsung/exynos_tmu.c
index 47b92c84ae98..f7f604230cfd 100644
--- a/drivers/thermal/samsung/exynos_tmu.c
+++ b/drivers/thermal/samsung/exynos_tmu.c
@@ -252,8 +252,8 @@ static void sanitize_temp_error(struct exynos_tmu_data *data, u32 trim_info)
EXYNOS_TMU_TEMP_MASK);
if (!data->temp_error1 ||
- (data->soc_config->min_efuse_value > data->temp_error1) ||
- (data->temp_error1 > data->soc_config->max_efuse_value))
+ data->soc_config->min_efuse_value > data->temp_error1 ||
+ data->temp_error1 > data->soc_config->max_efuse_value)
data->temp_error1 = data->soc_config->efuse_value & EXYNOS_TMU_TEMP_MASK;
if (!data->temp_error2)
@@ -536,7 +536,7 @@ static void exynos5433_tmu_initialize(struct platform_device *pdev)
}
dev_info(&pdev->dev, "Calibration type is %d-point calibration\n",
- cal_type ? 2 : 1);
+ cal_type ? 2 : 1);
}
static void exynos7_tmu_set_low_temp(struct exynos_tmu_data *data, u8 temp)
--
2.50.1