Re: [PATCH v4 10/11] thermal: Simplify or eliminate unnecessary set_mode() methods

2020-06-24 Thread Bartlomiej Zolnierkiewicz
On 5/28/20 9:20 PM, Andrzej Pietrasiewicz wrote: > Setting polling_delay is now done at thermal_core level (by not polling > DISABLED devices), so no need to repeat this code. > > int340x: Checking for an impossible enum value is unnecessary. > acpi/thermal: It only prints debug messages. > > S

Re: [PATCH v4 10/11] thermal: Simplify or eliminate unnecessary set_mode() methods

2020-06-01 Thread Peter Kästle
28. Mai 2020 21:22, "Andrzej Pietrasiewicz" schrieb: > Setting polling_delay is now done at thermal_core level (by not polling > DISABLED devices), so no need to repeat this code. > > int340x: Checking for an impossible enum value is unnecessary. > acpi/thermal: It only prints debug messages. >

[PATCH v4 10/11] thermal: Simplify or eliminate unnecessary set_mode() methods

2020-05-28 Thread Andrzej Pietrasiewicz
Setting polling_delay is now done at thermal_core level (by not polling DISABLED devices), so no need to repeat this code. int340x: Checking for an impossible enum value is unnecessary. acpi/thermal: It only prints debug messages. Signed-off-by: Andrzej Pietrasiewicz --- drivers/acpi/thermal.c