diff options
author | Daniel Lezcano <[email protected]> | 2023-03-01 21:14:30 +0100 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2023-03-03 20:45:02 +0100 |
commit | 5f68d0785e5258ab5e6df9e351929973a0742c1a (patch) | |
tree | 2fbb599f394013dcc8b10d32fa0ecd9c90a3b269 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | a6ff3c0021468721b96e84892a8cae24bde8d65f (diff) |
thermal/core: Use the thermal zone 'devdata' accessor in thermal located 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]>
Reviewed-by: Niklas Söderlund <[email protected]> #R-Car
Acked-by: Mark Brown <[email protected]>
Reviewed-by: AngeloGioacchino Del Regno <[email protected]> #MediaTek auxadc and lvts
Reviewed-by: Balsam CHIHI <[email protected]> #Mediatek lvts
Reviewed-by: Adam Ward <[email protected]> #da9062
Reviewed-by: Baolin Wang <[email protected]> #spread
Acked-by: Jernej Skrabec <[email protected]> #sun8i_thermal
Acked-by: Rafael J. Wysocki <[email protected]>
Acked-by: Florian Fainelli <[email protected]> #Broadcom
Reviewed-by: Dhruva Gole <[email protected]> # K3 bandgap
Acked-by: Linus Walleij <[email protected]>
Acked-by: Heiko Stuebner <[email protected]> #rockchip
Reviewed-by: Kunihiko Hayashi <[email protected]> #uniphier
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