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

2020-06-29 Thread Amit Kucheria
On Mon, Jun 29, 2020 at 6:00 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 mess

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

2020-06-29 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 [for acerhdf] Acked-by: Pete