[PATCH] thermal/drivers/sun8i: remove unneeded comments

Yangtao Li posted 1 patch 2 years, 7 months ago
drivers/thermal/sun8i_thermal.c | 2 --
1 file changed, 2 deletions(-)
[PATCH] thermal/drivers/sun8i: remove unneeded comments
Posted by Yangtao Li 2 years, 7 months ago
It's redundant, let's remove it.

Signed-off-by: Yangtao Li <frank.li@vivo.com>
---
 drivers/thermal/sun8i_thermal.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/thermal/sun8i_thermal.c b/drivers/thermal/sun8i_thermal.c
index 195f3c5d0b38..2c82bc744a24 100644
--- a/drivers/thermal/sun8i_thermal.c
+++ b/drivers/thermal/sun8i_thermal.c
@@ -56,8 +56,6 @@
 #define SUN50I_H6_THS_PC_TEMP_PERIOD(x)		((GENMASK(19, 0) & (x)) << 12)
 #define SUN50I_H6_THS_DATA_IRQ_STS(x)		BIT(x)
 
-/* millidegree celsius */
-
 struct tsensor {
 	struct ths_device		*tmdev;
 	struct thermal_zone_device	*tzd;
-- 
2.39.0
Re: [PATCH] thermal/drivers/sun8i: remove unneeded comments
Posted by Jernej Škrabec 2 years, 7 months ago
Dne ponedeljek, 26. junij 2023 ob 14:55:15 CEST je Yangtao Li napisal(a):
> It's redundant, let's remove it.
> 
> Signed-off-by: Yangtao Li <frank.li@vivo.com>

Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>

Best regards,
Jernej

> ---
>  drivers/thermal/sun8i_thermal.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/thermal/sun8i_thermal.c
> b/drivers/thermal/sun8i_thermal.c index 195f3c5d0b38..2c82bc744a24 100644
> --- a/drivers/thermal/sun8i_thermal.c
> +++ b/drivers/thermal/sun8i_thermal.c
> @@ -56,8 +56,6 @@
>  #define SUN50I_H6_THS_PC_TEMP_PERIOD(x)		((GENMASK(19, 0) & 
(x)) << 12)
>  #define SUN50I_H6_THS_DATA_IRQ_STS(x)		BIT(x)
> 
> -/* millidegree celsius */
> -
>  struct tsensor {
>  	struct ths_device		*tmdev;
>  	struct thermal_zone_device	*tzd;