]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
platform/x86: thinkpad_acpi: remove obsolete TODO comment
authorDaniil Bulgar <bulgardaniil18@gmail.com>
Tue, 7 Apr 2026 19:05:46 +0000 (21:05 +0200)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Thu, 9 Apr 2026 12:50:51 +0000 (15:50 +0300)
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@gmail.com>
Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Link: https://patch.msgid.link/20260407190546.109900-1-bulgardaniil18@gmail.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/lenovo/thinkpad_acpi.c

index 1a9effcae5cd23bb574df58acae68da49ecd1915..e1cee42a1683e93a4fe516e7336b8e8a40a217d7 100644 (file)
@@ -9235,9 +9235,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;