2013-03-25 14:35:19

by James Hogan

[permalink] [raw]
Subject: [PATCH 1/1] clk: fix clk_mux::flags kerneldoc

The kerneldoc comment for struct clk_mux documented the non-existent
num_clks instead of flags. Correct this.

Signed-off-by: James Hogan <[email protected]>
---
include/linux/clk-provider.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h
index cdad3ce..e7504d5 100644
--- a/include/linux/clk-provider.h
+++ b/include/linux/clk-provider.h
@@ -276,7 +276,7 @@ struct clk *clk_register_divider_table(struct device *dev, const char *name,
* @reg: register controlling multiplexer
* @shift: shift to multiplexer bit field
* @width: width of mutliplexer bit field
- * @num_clks: number of parent clocks
+ * @flags: hardware-specific flags
* @lock: register lock
*
* Clock with multiple selectable parents. Implements .get_parent, .set_parent
--
1.8.1.2


2013-04-02 23:51:25

by Mike Turquette

[permalink] [raw]
Subject: Re: [PATCH 1/1] clk: fix clk_mux::flags kerneldoc

Quoting James Hogan (2013-03-25 07:35:07)
> The kerneldoc comment for struct clk_mux documented the non-existent
> num_clks instead of flags. Correct this.
>
> Signed-off-by: James Hogan <[email protected]>

Thanks for the fix. Taken into clk-next.

Regards,
Mike

> ---
> include/linux/clk-provider.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h
> index cdad3ce..e7504d5 100644
> --- a/include/linux/clk-provider.h
> +++ b/include/linux/clk-provider.h
> @@ -276,7 +276,7 @@ struct clk *clk_register_divider_table(struct device *dev, const char *name,
> * @reg: register controlling multiplexer
> * @shift: shift to multiplexer bit field
> * @width: width of mutliplexer bit field
> - * @num_clks: number of parent clocks
> + * @flags: hardware-specific flags
> * @lock: register lock
> *
> * Clock with multiple selectable parents. Implements .get_parent, .set_parent
> --
> 1.8.1.2