aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/device.py
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2023-12-13 13:13:22 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-12-13 14:35:32 +0100
commit404f62cd6407f163e03cfaca97e27c1c4c62eb3c (patch)
treefe3778b1e8785eb979ddf74b2ed88599f281a69b /scripts/gdb/linux/device.py
parentbdc22c8d52d70fc5655ab4dbf72fa79b034bb7b5 (diff)
thermal/core: Check get_temp ops is present when registering a tz
Initially the check against the get_temp ops in the thermal_zone_device_update() was put in there in order to catch drivers not providing this method. Instead of checking again and again the function if the ops exists in the update function, let's do the check at registration time, so it is checked one time and for all. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/gdb/linux/device.py')
0 files changed, 0 insertions, 0 deletions