mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 21:58:04 +00:00
c36de2e73a
Backport almost 50 commits from upstream Linux to improve thermal drivers for MediaTek SoCs and add new LVTS driver for MT7988. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
38 lines
1.4 KiB
Diff
38 lines
1.4 KiB
Diff
From f167da186acf90847e1a6d3716e253825a6218ec Mon Sep 17 00:00:00 2001
|
|
From: Randy Dunlap <rdunlap@infradead.org>
|
|
Date: Thu, 12 Jan 2023 22:44:49 -0800
|
|
Subject: [PATCH 01/42] thermal/drivers/mtk_thermal: Fix kernel-doc function
|
|
name
|
|
|
|
Use the correct function name in a kernel-doc comment to prevent
|
|
a warning:
|
|
|
|
drivers/thermal/mtk_thermal.c:562: warning: expecting prototype for raw_to_mcelsius(). Prototype was for raw_to_mcelsius_v1() instead
|
|
|
|
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
|
|
Cc: "Rafael J. Wysocki" <rafael@kernel.org>
|
|
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
Cc: Amit Kucheria <amitk@kernel.org>
|
|
Cc: Zhang Rui <rui.zhang@intel.com>
|
|
Cc: Matthias Brugger <matthias.bgg@gmail.com>
|
|
Cc: linux-pm@vger.kernel.org
|
|
Cc: linux-arm-kernel@lists.infradead.org
|
|
Cc: linux-mediatek@lists.infradead.org
|
|
Link: https://lore.kernel.org/r/20230113064449.15061-1-rdunlap@infradead.org
|
|
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
---
|
|
drivers/thermal/mtk_thermal.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/drivers/thermal/mtk_thermal.c
|
|
+++ b/drivers/thermal/mtk_thermal.c
|
|
@@ -550,7 +550,7 @@ static const struct mtk_thermal_data mt8
|
|
};
|
|
|
|
/**
|
|
- * raw_to_mcelsius - convert a raw ADC value to mcelsius
|
|
+ * raw_to_mcelsius_v1 - convert a raw ADC value to mcelsius
|
|
* @mt: The thermal controller
|
|
* @sensno: sensor number
|
|
* @raw: raw ADC value
|