diff mbox series

[05/11] thermal: max77620: Appease the kernel-doc deity

Message ID 09609109359054d2a1f7e0456402ebabad1e315f.1573046440.git.amit.kucheria@linaro.org (mailing list archive)
State Superseded, archived
Headers show
Series thermal: clean up output of make W=1 | expand

Commit Message

Amit Kucheria Nov. 6, 2019, 1:28 p.m. UTC
Fix up the following warning when compiled with make W=1:

linux.git/drivers/thermal/max77620_thermal.c:48: warning: Function
parameter or member 'temp' not described in 'max77620_thermal_read_temp'

Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
---
 drivers/thermal/max77620_thermal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Viresh Kumar Nov. 7, 2019, 2:17 a.m. UTC | #1
On 06-11-19, 18:58, Amit Kucheria wrote:
> Fix up the following warning when compiled with make W=1:
> 
> linux.git/drivers/thermal/max77620_thermal.c:48: warning: Function
> parameter or member 'temp' not described in 'max77620_thermal_read_temp'
> 
> Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
> ---
>  drivers/thermal/max77620_thermal.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/thermal/max77620_thermal.c b/drivers/thermal/max77620_thermal.c
> index 88fd0fbe0cfac..82d06c7411eb3 100644
> --- a/drivers/thermal/max77620_thermal.c
> +++ b/drivers/thermal/max77620_thermal.c
> @@ -33,7 +33,7 @@ struct max77620_therm_info {
>  /**
>   * max77620_thermal_read_temp: Read PMIC die temperatue.
>   * @data:	Device specific data.
> - * temp:	Temperature in millidegrees Celsius
> + * @temp:	Temperature in millidegrees Celsius
>   *
>   * The actual temperature of PMIC die is not available from PMIC.
>   * PMIC only tells the status if it has crossed or not the threshold level

Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
diff mbox series

Patch

diff --git a/drivers/thermal/max77620_thermal.c b/drivers/thermal/max77620_thermal.c
index 88fd0fbe0cfac..82d06c7411eb3 100644
--- a/drivers/thermal/max77620_thermal.c
+++ b/drivers/thermal/max77620_thermal.c
@@ -33,7 +33,7 @@  struct max77620_therm_info {
 /**
  * max77620_thermal_read_temp: Read PMIC die temperatue.
  * @data:	Device specific data.
- * temp:	Temperature in millidegrees Celsius
+ * @temp:	Temperature in millidegrees Celsius
  *
  * The actual temperature of PMIC die is not available from PMIC.
  * PMIC only tells the status if it has crossed or not the threshold level