[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Yvz9CIelQSbGuqCg@shredder>
Date: Wed, 17 Aug 2022 17:36:56 +0300
From: Ido Schimmel <idosch@...dia.com>
To: Daniel Lezcano <daniel.lezcano@...aro.org>
Cc: rafael@...nel.org, linux-pm@...r.kernel.org, vadimp@...lanox.com,
davem@...emloft.net, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, vadimp@...dia.com, petrm@...dia.com,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com
Subject: Re: [PATCH v3 2/2] Revert "mlxsw: core: Add the hottest thermal zone
detection"
On Wed, Aug 17, 2022 at 03:02:27PM +0200, Daniel Lezcano wrote:
> @@ -285,10 +254,8 @@ static int mlxsw_thermal_get_temp(struct thermal_zone_device *tzdev,
> dev_err(dev, "Failed to query temp sensor\n");
> return err;
> }
> +
Unnecessary blank line
> mlxsw_reg_mtmp_unpack(mtmp_pl, &temp, NULL, NULL, NULL, NULL);
> - if (temp > 0)
> - mlxsw_thermal_tz_score_update(thermal, tzdev, thermal->trips,
> - temp);
>
> *p_temp = temp;
> return 0;
> @@ -349,22 +316,6 @@ static int mlxsw_thermal_set_trip_hyst(struct thermal_zone_device *tzdev,
> return 0;
> }
[...]
> @@ -680,6 +623,7 @@ mlxsw_thermal_module_tz_init(struct mlxsw_thermal_module *module_tz)
> MLXSW_THERMAL_TRIP_MASK,
> module_tz,
> &mlxsw_thermal_module_ops,
> +
Likewise
> &mlxsw_thermal_params,
> 0,
> module_tz->parent->polling_delay);
> --
> 2.34.1
>
Powered by blists - more mailing lists