summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2022-11-10 18:24:55 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-11-14 21:04:37 +0300
commited97d10a8b2c78d1664b01658c5f581e6791ff7d (patch)
tree3876b7fa295e9ce3f179f6cf4a0acf1f457532b2 /tools/perf/scripts/python/syscall-counts.py
parent1c6b30060777352e7881383bab726046d8c3c610 (diff)
downloadlinux-ed97d10a8b2c78d1664b01658c5f581e6791ff7d.tar.xz
thermal/core: Move parameter validation from __thermal_zone_get_temp to thermal_zone_get_temp
All callers of __thermal_zone_get_temp() already validated the thermal zone parameters. Move validation to thermal_zone_get_temp() where it is actually needed. Also add kernel documentation for __thermal_zone_get_temp(), listing the requirement that the function must be called with validated parameters and with thermal device mutex held. Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions