Message ID | 09609109359054d2a1f7e0456402ebabad1e315f.1573046440.git.amit.kucheria@linaro.org |
---|---|
State | Superseded |
Headers | show |
Series | None | expand |
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> -- viresh
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
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(-) -- 2.17.1