Re: [PATCH v2 06/16] thermal: Don't use 'device' internal thermal zone structure field

From: AngeloGioacchino Del Regno
Date: Wed Feb 22 2023 - 04:48:17 EST


Il 21/02/23 19:07, Daniel Lezcano ha scritto:
Some drivers are directly using the thermal zone's 'device' structure
field.

Use the driver device pointer instead of the thermal zone device when
it is available.

Remove the traces when they are duplicate with the traces in the core
code.

Signed-off-by: Daniel Lezcano <daniel.lezcano@xxxxxxxxxx>
Reviewed-by: Balsam CHIHI <bchihi@xxxxxxxxxxxx> #Mediatek LVTS

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx> #MediaTek LVTS