Message ID | 20210120093040.1719407-16-lee.jones@linaro.org |
---|---|
State | New |
Headers | show |
Series | Rid W=1 warnings from Clock | expand |
On 20/01/2021 11:30, Lee Jones wrote: > Fixes the following W=1 kernel build warning(s): > > drivers/clk/ti/dpll.c:163: warning: Function parameter or member 'user' not described in '_register_dpll' > drivers/clk/ti/dpll.c:163: warning: Excess function parameter 'hw' description in '_register_dpll' > > Cc: Tero Kristo <kristo@kernel.org> > Cc: Michael Turquette <mturquette@baylibre.com> > Cc: Stephen Boyd <sboyd@kernel.org> > Cc: linux-omap@vger.kernel.org > Cc: linux-clk@vger.kernel.org > Signed-off-by: Lee Jones <lee.jones@linaro.org> Reviewed-by: Tero Kristo <kristo@kernel.org> > --- > drivers/clk/ti/dpll.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/clk/ti/dpll.c b/drivers/clk/ti/dpll.c > index 247510e306e2a..d6f1ac5b53e14 100644 > --- a/drivers/clk/ti/dpll.c > +++ b/drivers/clk/ti/dpll.c > @@ -151,7 +151,7 @@ static const struct clk_ops dpll_x2_ck_ops = { > > /** > * _register_dpll - low level registration of a DPLL clock > - * @hw: hardware clock definition for the clock > + * @user: pointer to the hardware clock definition for the clock > * @node: device node for the clock > * > * Finalizes DPLL registration process. In case a failure (clk-ref or >
Quoting Lee Jones (2021-01-20 01:30:35) > Fixes the following W=1 kernel build warning(s): > > drivers/clk/ti/dpll.c:163: warning: Function parameter or member 'user' not described in '_register_dpll' > drivers/clk/ti/dpll.c:163: warning: Excess function parameter 'hw' description in '_register_dpll' > > Cc: Tero Kristo <kristo@kernel.org> > Cc: Michael Turquette <mturquette@baylibre.com> > Cc: Stephen Boyd <sboyd@kernel.org> > Cc: linux-omap@vger.kernel.org > Cc: linux-clk@vger.kernel.org > Signed-off-by: Lee Jones <lee.jones@linaro.org> > --- Applied to clk-next
diff --git a/drivers/clk/ti/dpll.c b/drivers/clk/ti/dpll.c index 247510e306e2a..d6f1ac5b53e14 100644 --- a/drivers/clk/ti/dpll.c +++ b/drivers/clk/ti/dpll.c @@ -151,7 +151,7 @@ static const struct clk_ops dpll_x2_ck_ops = { /** * _register_dpll - low level registration of a DPLL clock - * @hw: hardware clock definition for the clock + * @user: pointer to the hardware clock definition for the clock * @node: device node for the clock * * Finalizes DPLL registration process. In case a failure (clk-ref or
Fixes the following W=1 kernel build warning(s): drivers/clk/ti/dpll.c:163: warning: Function parameter or member 'user' not described in '_register_dpll' drivers/clk/ti/dpll.c:163: warning: Excess function parameter 'hw' description in '_register_dpll' Cc: Tero Kristo <kristo@kernel.org> Cc: Michael Turquette <mturquette@baylibre.com> Cc: Stephen Boyd <sboyd@kernel.org> Cc: linux-omap@vger.kernel.org Cc: linux-clk@vger.kernel.org Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/clk/ti/dpll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.1