Re: [PATCH v4 11/11] thermal: Rename set_mode() to change_mode()

2020-06-24 Thread Bartlomiej Zolnierkiewicz
On 5/28/20 9:20 PM, Andrzej Pietrasiewicz wrote: > set_mode() is only called when tzd's mode is about to change. Actual > setting is performed in thermal_core, in thermal_zone_device_set_mode(). > The meaning of set_mode() callback is actually to notify the driver about > the mode being changed a

Re: [PATCH v4 11/11] thermal: Rename set_mode() to change_mode()

2020-06-01 Thread Peter Kästle
28. Mai 2020 21:22, "Andrzej Pietrasiewicz" schrieb: > set_mode() is only called when tzd's mode is about to change. Actual > setting is performed in thermal_core, in thermal_zone_device_set_mode(). > The meaning of set_mode() callback is actually to notify the driver about > the mode being chang

[PATCH v4 11/11] thermal: Rename set_mode() to change_mode()

2020-05-28 Thread Andrzej Pietrasiewicz
set_mode() is only called when tzd's mode is about to change. Actual setting is performed in thermal_core, in thermal_zone_device_set_mode(). The meaning of set_mode() callback is actually to notify the driver about the mode being changed and giving the driver a chance to oppose such change. To be