summaryrefslogtreecommitdiff
path: root/kernel/tracepoint.c
diff options
context:
space:
mode:
authorJavi Merino <javi.merino@arm.com>2015-02-26 19:00:27 (GMT)
committerEduardo Valentin <edubezval@gmail.com>2015-05-05 04:27:52 (GMT)
commite33df1d2f3a0141cd79e770f31999ba0dd7ebfa8 (patch)
tree8a0602ce3137212c292dec7603c66120665255c8 /kernel/tracepoint.c
parentc610afaa21d3c6e7b02040c8563ffc01c7fc0570 (diff)
downloadlinux-e33df1d2f3a0141cd79e770f31999ba0dd7ebfa8.tar.xz
thermal: let governors have private data for each thermal zone
A governor may need to store its current state between calls to throttle(). That state depends on the thermal zone, so store it as private data in struct thermal_zone_device. The governors may have two new ops: bind_to_tz() and unbind_from_tz(). When provided, these functions let governors do some initialization and teardown when they are bound/unbound to a tz and possibly store that information in the governor_data field of the struct thermal_zone_device. Cc: Zhang Rui <rui.zhang@intel.com> Cc: Eduardo Valentin <edubezval@gmail.com> Signed-off-by: Javi Merino <javi.merino@arm.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'kernel/tracepoint.c')
0 files changed, 0 insertions, 0 deletions