summaryrefslogtreecommitdiff
path: root/scripts/rustdoc_test_builder.rs
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2023-07-07 22:37:30 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-07-14 20:46:02 +0200
commit12ad93ab6eeb0c30dbcb5df7f72415a092f6f191 (patch)
tree863f03fbca6f298ca61fd0d2aa0fde0f24a554e7 /scripts/rustdoc_test_builder.rs
parent06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5 (diff)
thermal/drivers/int3400: Use thermal zone device wrappers
Use the thermal core API to access the thermal zone "type" field instead of directly using the structure field. While here, remove access to the temperature field, as this driver is reporting fake temperature, which can be replaced with INT3400_FAKE_TEMP. Also replace hardcoded 20C with INT3400_FAKE_TEMP Acked-by: srinivas pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions