[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201112095715.1993117-3-lee.jones@linaro.org>
Date: Thu, 12 Nov 2020 09:57:14 +0000
From: Lee Jones <lee.jones@...aro.org>
To: jdelvare@...e.com, linux@...ck-us.net
Cc: linux-kernel@...r.kernel.org, linux-hwmon@...r.kernel.org,
Lee Jones <lee.jones@...aro.org>,
"Andrew F. Davis" <afd@...com>
Subject: [PATCH 2/3] hwmon: ina3221: Demote seemingly unintentional kerneldoc header
This is the only use of kerneldoc in the sourcefile and no
descriptions are provided.
Fixes the following W=1 kernel build warning(s):
drivers/hwmon/ina3221.c:152: warning: Function parameter or member 'ina' not described in 'ina3221_summation_shunt_resistor'
Cc: "Andrew F. Davis" <afd@...com>
Signed-off-by: Lee Jones <lee.jones@...aro.org>
---
drivers/hwmon/ina3221.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/hwmon/ina3221.c b/drivers/hwmon/ina3221.c
index 41fb17e0d6416..72cfdc007e609 100644
--- a/drivers/hwmon/ina3221.c
+++ b/drivers/hwmon/ina3221.c
@@ -139,7 +139,7 @@ static inline bool ina3221_is_enabled(struct ina3221_data *ina, int channel)
(ina->reg_config & INA3221_CONFIG_CHx_EN(channel));
}
-/**
+/*
* Helper function to return the resistor value for current summation.
*
* There is a condition to calculate current summation -- all the shunt
--
2.25.1
Powered by blists - more mailing lists