694b73a2b1c3b0d96eecb1448a791d208b1eb7f5
[openwrt/staging/pepe2k.git] /
1 From f167da186acf90847e1a6d3716e253825a6218ec Mon Sep 17 00:00:00 2001
2 From: Randy Dunlap <rdunlap@infradead.org>
3 Date: Thu, 12 Jan 2023 22:44:49 -0800
4 Subject: [PATCH 01/42] thermal/drivers/mtk_thermal: Fix kernel-doc function
5 name
6
7 Use the correct function name in a kernel-doc comment to prevent
8 a warning:
9
10 drivers/thermal/mtk_thermal.c:562: warning: expecting prototype for raw_to_mcelsius(). Prototype was for raw_to_mcelsius_v1() instead
11
12 Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
13 Cc: "Rafael J. Wysocki" <rafael@kernel.org>
14 Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
15 Cc: Amit Kucheria <amitk@kernel.org>
16 Cc: Zhang Rui <rui.zhang@intel.com>
17 Cc: Matthias Brugger <matthias.bgg@gmail.com>
18 Cc: linux-pm@vger.kernel.org
19 Cc: linux-arm-kernel@lists.infradead.org
20 Cc: linux-mediatek@lists.infradead.org
21 Link: https://lore.kernel.org/r/20230113064449.15061-1-rdunlap@infradead.org
22 Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
23 ---
24 drivers/thermal/mtk_thermal.c | 2 +-
25 1 file changed, 1 insertion(+), 1 deletion(-)
26
27 --- a/drivers/thermal/mtk_thermal.c
28 +++ b/drivers/thermal/mtk_thermal.c
29 @@ -550,7 +550,7 @@ static const struct mtk_thermal_data mt8
30 };
31
32 /**
33 - * raw_to_mcelsius - convert a raw ADC value to mcelsius
34 + * raw_to_mcelsius_v1 - convert a raw ADC value to mcelsius
35 * @mt: The thermal controller
36 * @sensno: sensor number
37 * @raw: raw ADC value