diff options
author | Andrzej Pietrasiewicz <[email protected]> | 2020-06-29 14:29:25 +0200 |
---|---|---|
committer | Daniel Lezcano <[email protected]> | 2020-06-29 20:26:39 +0200 |
commit | f5e50bf4d3ef0aba4d5414c9ed51fa4a02e2ed12 (patch) | |
tree | 7481a4a4b669cc11a923ec4532f75097a6493070 /lib/dynamic_debug.c | |
parent | 5d7bd8aa7c35873f448d60ffbd996cfa151d2a11 (diff) |
thermal: Rename set_mode() to change_mode()
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 better reflect the purpose of the method rename it to change_mode()
Signed-off-by: Andrzej Pietrasiewicz <[email protected]>
[for acerhdf]
Acked-by: Peter Kaestle <[email protected]>
Reviewed-by: Bartlomiej Zolnierkiewicz <[email protected]>
Reviewed-by: Amit Kucheria <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions