diff options
author | 2023-03-01 21:14:41 +0100 | |
---|---|---|
committer | 2023-03-03 20:45:03 +0100 | |
commit | dbb0ea153401d5191b523837f14bd7f060f9ed5f (patch) | |
tree | 5f35dd48129cfd31c1942e1e652a1a707416a873 /scripts/generate_rust_analyzer.py | |
parent | thermal: Add a thermal zone id accessor (diff) | |
download | linux-rng-dbb0ea153401d5191b523837f14bd7f060f9ed5f.tar.xz linux-rng-dbb0ea153401d5191b523837f14bd7f060f9ed5f.zip |
thermal: Use thermal_zone_device_type() accessor
Replace the accesses to 'tz->type' by its accessor version in order to
self-encapsulate the thermal_zone_device structure.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Ido Schimmel <idosch@nvidia.com> #mlxsw
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> #MediaTek LVTS
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions