diff options
author | Daniel Lezcano <[email protected]> | 2023-03-01 21:14:32 +0100 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2023-03-03 20:45:02 +0100 |
commit | 3d4e1bad7804bee102bb1e992f2831e4c6658f88 (patch) | |
tree | 3de9ffe344b16145859fca264a83871d53ea6ae3 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 0ce637a5469139f901c3047e507afcf17bd00f43 (diff) |
thermal/core: Use the thermal zone 'devdata' accessor in remaining drivers
The thermal zone device structure is exposed to the different drivers
and obviously they access the internals while that should be
restricted to the core thermal code.
In order to self-encapsulate the thermal core code, we need to prevent
the drivers accessing directly the thermal zone structure and provide
accessor functions to deal with.
Use the devdata accessor introduced in the previous patch.
No functional changes intended.
Signed-off-by: Daniel Lezcano <[email protected]>
Acked-by: Mark Brown <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]> #mlxsw
Acked-by: Gregory Greenman <[email protected]> #iwlwifi
Acked-by: Sebastian Reichel <[email protected]> #power_supply
Acked-by: Damien Le Moal <[email protected]> #ahci
Acked-by: Rafael J. Wysocki <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions