Re: [PATCH v2] platform/x86: thinkpad_acpi: remove obsolete TODO comment
From: Mark Pearson
Date: Tue Apr 07 2026 - 15:08:41 EST
On Tue, Apr 7, 2026, at 3:05 PM, Daniil Bulgar wrote:
> This patch removes the obsolete TODO comment regarding fan speed
> presets in fan_write_cmd_speed. After discussion with the
> maintainers, it was decided that fixed presets (low/medium/high)
> are not suitable due to platform-specific variations.
>
> Signed-off-by: Daniil Bulgar <bulgardaniil18@xxxxxxxxx>
> ---
> v2:
> - Removed the preset implementation as requested by Mark Pearson
> and only removed the TODO comment.
> v1:
> - Initial attempt to implement low/medium/high presets.
>
> drivers/platform/x86/lenovo/thinkpad_acpi.c | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/drivers/platform/x86/lenovo/thinkpad_acpi.c
> b/drivers/platform/x86/lenovo/thinkpad_acpi.c
> index 8982d92df..75e141304 100644
> --- a/drivers/platform/x86/lenovo/thinkpad_acpi.c
> +++ b/drivers/platform/x86/lenovo/thinkpad_acpi.c
> @@ -9249,9 +9249,6 @@ static int fan_write_cmd_speed(const char *cmd,
> int *rc)
> {
> int speed;
>
> - /* TODO:
> - * Support speed <low> <medium> <high> ? */
> -
> if (sscanf(cmd, "speed %d", &speed) != 1)
> return 0;
>
> --
> 2.53.0
Looks good - thanks :)
Reviewed-by: Mark Pearson <mpearson-lenovo@xxxxxxxxx>
Mark