Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] clk: remove invalid __clk_set_parent comment in __clk_core_init
@ 2017-12-22  9:47 Dong Aisheng
  2018-01-23 12:52 ` Dong Aisheng
  0 siblings, 1 reply; 2+ messages in thread
From: Dong Aisheng @ 2017-12-22  9:47 UTC (permalink / raw)
  To: linux-arm-kernel

Those comments are invalid anymore. So remove them.

Cc: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
---
 drivers/clk/clk.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
index d6e2d5c..4675adf 100644
--- a/drivers/clk/clk.c
+++ b/drivers/clk/clk.c
@@ -2927,10 +2927,6 @@ static int __clk_core_init(struct clk_core *core)
 		struct clk_core *parent = __clk_init_parent(orphan);
 		unsigned long flags;
 
-		/*
-		 * we could call __clk_set_parent, but that would result in a
-		 * redundant call to the .set_rate op, if it exists
-		 */
 		if (parent) {
 			/* update the clk tree topology */
 			flags = clk_enable_lock();
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH 1/1] clk: remove invalid __clk_set_parent comment in __clk_core_init
  2017-12-22  9:47 [PATCH 1/1] clk: remove invalid __clk_set_parent comment in __clk_core_init Dong Aisheng
@ 2018-01-23 12:52 ` Dong Aisheng
  0 siblings, 0 replies; 2+ messages in thread
From: Dong Aisheng @ 2018-01-23 12:52 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Dec 22, 2017 at 05:47:21PM +0800, Dong Aisheng wrote:
> Those comments are invalid anymore. So remove them.
> 
> Cc: Stephen Boyd <sboyd@codeaurora.org>
> Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>

Ping

Regards
Dong Aisheng

> ---
>  drivers/clk/clk.c | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
> index d6e2d5c..4675adf 100644
> --- a/drivers/clk/clk.c
> +++ b/drivers/clk/clk.c
> @@ -2927,10 +2927,6 @@ static int __clk_core_init(struct clk_core *core)
>  		struct clk_core *parent = __clk_init_parent(orphan);
>  		unsigned long flags;
>  
> -		/*
> -		 * we could call __clk_set_parent, but that would result in a
> -		 * redundant call to the .set_rate op, if it exists
> -		 */
>  		if (parent) {
>  			/* update the clk tree topology */
>  			flags = clk_enable_lock();
> -- 
> 2.7.4
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-clk" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-01-23 12:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-22  9:47 [PATCH 1/1] clk: remove invalid __clk_set_parent comment in __clk_core_init Dong Aisheng
2018-01-23 12:52 ` Dong Aisheng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox