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

2020-06-29 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

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

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