Message ID | cover.1674012985.git.daniel@makrotopia.org |
---|---|
Headers | show |
Series | thermal: mediatek: add support for MT7986 and MT7981 | expand |
Il 18/01/23 04:55, Daniel Golle ha scritto: > Instead of having if-else logic selecting either raw_to_mcelsius_v1 or > raw_to_mcelsius_v2 in mtk_thermal_bank_temperature introduce a function > pointer raw_to_mcelsius to struct mtk_thermal which is initialized in the > probe function. > > Signed-off-by: Daniel Golle <daniel@makrotopia.org> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>