[PATCHv11 05/49] clk: gate: add support for registering gate clock from descriptor

Paul Walmsley paul at pwsan.com
Fri Dec 20 05:56:02 EST 2013


On Thu, 19 Dec 2013, Tero Kristo wrote:

> New clk_register_desc() call can be used to register this clock type now.
> 
> Signed-off-by: Tero Kristo <t-kristo at ti.com>

...

> diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h
> index 7dd6842..27a9765 100644
> --- a/include/linux/clk-provider.h
> +++ b/include/linux/clk-provider.h
> @@ -269,10 +269,29 @@ struct clk_gate {
>  	spinlock_t	*lock;
>  };
>  
> +/**
> + * struct clk_gate_desc - init descriptor for gating clock
> + *
> + * @desc:	handle between common and hardware-specific interfaces

I like the kernel-doc-nano, but as mentioned in

http://patchwork.ozlabs.org/patch/294253/

please remove the blank line between the summary line and the arguments.
Documentation/kernel-doc-nano.txt says:

"The @argument descriptions must begin on the very next line following
this opening short function description line, with no intervening
empty comment lines."


- Paul



More information about the linux-arm-kernel mailing list