From c086ece9299577e6b4a30ddb70f6d65e0ad60b7a Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Fri, 21 Mar 2025 19:17:13 +0200 Subject: [PATCH] Revert "(CR): drivers: enable step-wise and qmi tz logs" This reverts commit c12db773b50a5bc651393ad1692e3f980c2e2d7a. Reason for revert: Remove useless logging changes Change-Id: If1b9e0a92dcc1e7add63d5a6bc69eb100c8ffdf1 --- drivers/thermal/qcom/qmi_cooling.c | 2 +- drivers/thermal/step_wise.c | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/thermal/qcom/qmi_cooling.c b/drivers/thermal/qcom/qmi_cooling.c index d4077ae421ae..22a0ee9ac2c5 100644 --- a/drivers/thermal/qcom/qmi_cooling.c +++ b/drivers/thermal/qcom/qmi_cooling.c @@ -173,7 +173,7 @@ static int qmi_tmd_send_state_request(struct qmi_cooling_device *qmi_cdev, goto qmi_send_exit; } ret = 0; - pr_warn("Requested qmi state:%d for %s\n", state, qmi_cdev->cdev_name); + pr_debug("Requested qmi state:%d for %s\n", state, qmi_cdev->cdev_name); qmi_send_exit: mutex_unlock(&tmd->mutex); diff --git a/drivers/thermal/step_wise.c b/drivers/thermal/step_wise.c index 0f73f04a0409..8978951c03b4 100644 --- a/drivers/thermal/step_wise.c +++ b/drivers/thermal/step_wise.c @@ -188,11 +188,8 @@ static void update_passive_instance(struct thermal_zone_device *tz, * If value is +1, activate a passive instance. * If value is -1, deactivate a passive instance. */ - if (type == THERMAL_TRIP_PASSIVE || type == THERMAL_TRIPS_NONE) { + if (type == THERMAL_TRIP_PASSIVE || type == THERMAL_TRIPS_NONE) tz->passive += value; - dev_warn(&tz->device, "[%s] temp=%d, passive=%d\n", - tz->type, tz->temperature, tz->passive); - } } #ifdef CONFIG_QTI_THERMAL