Re: [PATCH v2 01/17] thermal: add thermal_zone_set_mode() helper

2018-11-06 Thread Bartlomiej Zolnierkiewicz
On 11/06/2018 09:11 AM, Zhang Rui wrote: > On 三, 2018-10-17 at 17:52 +0200, Bartlomiej Zolnierkiewicz wrote: >> In order to remove the code duplication and prepare for further >> changes: >> >> * Add thermal_zone_set_mode() helper. Then update core code and >> drivers to use it. >> >> There

Re: [PATCH v2 01/17] thermal: add thermal_zone_set_mode() helper

2018-11-06 Thread Bartlomiej Zolnierkiewicz
On 11/06/2018 09:11 AM, Zhang Rui wrote: > On 三, 2018-10-17 at 17:52 +0200, Bartlomiej Zolnierkiewicz wrote: >> In order to remove the code duplication and prepare for further >> changes: >> >> * Add thermal_zone_set_mode() helper. Then update core code and >> drivers to use it. >> >> There

Re: [PATCH v2 01/17] thermal: add thermal_zone_set_mode() helper

2018-11-06 Thread Zhang Rui
On 三, 2018-10-17 at 17:52 +0200, Bartlomiej Zolnierkiewicz wrote: > In order to remove the code duplication and prepare for further > changes: > > * Add thermal_zone_set_mode() helper. Then update core code and >   drivers to use it. > > There should be no functional changes caused by this

Re: [PATCH v2 01/17] thermal: add thermal_zone_set_mode() helper

2018-11-06 Thread Zhang Rui
On 三, 2018-10-17 at 17:52 +0200, Bartlomiej Zolnierkiewicz wrote: > In order to remove the code duplication and prepare for further > changes: > > * Add thermal_zone_set_mode() helper. Then update core code and >   drivers to use it. > > There should be no functional changes caused by this

[PATCH v2 01/17] thermal: add thermal_zone_set_mode() helper

2018-10-17 Thread Bartlomiej Zolnierkiewicz
In order to remove the code duplication and prepare for further changes: * Add thermal_zone_set_mode() helper. Then update core code and drivers to use it. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/thermal/hisi_thermal.c

[PATCH v2 01/17] thermal: add thermal_zone_set_mode() helper

2018-10-17 Thread Bartlomiej Zolnierkiewicz
In order to remove the code duplication and prepare for further changes: * Add thermal_zone_set_mode() helper. Then update core code and drivers to use it. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/thermal/hisi_thermal.c