Message ID | b8cca2b414eeb2db19f297571dd4654a733a2417.1573046440.git.amit.kucheria@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | thermal: clean up output of make W=1 | 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/zx2967_thermal.c:57: warning: Function > parameter or member 'dev' not described in 'zx2967_thermal_priv' > > Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org> > --- > drivers/thermal/zx2967_thermal.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/thermal/zx2967_thermal.c b/drivers/thermal/zx2967_thermal.c > index 7c8a82c8e1e92..8e3a2d3c2f9a3 100644 > --- a/drivers/thermal/zx2967_thermal.c > +++ b/drivers/thermal/zx2967_thermal.c > @@ -45,6 +45,7 @@ > * @clk_topcrm: topcrm clk structure > * @clk_apb: apb clk structure > * @regs: pointer to base address of the thermal sensor > + * @dev: struct device pointer > */ > > struct zx2967_thermal_priv { Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
diff --git a/drivers/thermal/zx2967_thermal.c b/drivers/thermal/zx2967_thermal.c index 7c8a82c8e1e92..8e3a2d3c2f9a3 100644 --- a/drivers/thermal/zx2967_thermal.c +++ b/drivers/thermal/zx2967_thermal.c @@ -45,6 +45,7 @@ * @clk_topcrm: topcrm clk structure * @clk_apb: apb clk structure * @regs: pointer to base address of the thermal sensor + * @dev: struct device pointer */ struct zx2967_thermal_priv {
Fix up the following warning when compiled with make W=1: linux.git/drivers/thermal/zx2967_thermal.c:57: warning: Function parameter or member 'dev' not described in 'zx2967_thermal_priv' Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org> --- drivers/thermal/zx2967_thermal.c | 1 + 1 file changed, 1 insertion(+)