linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] CLKDEV: remove extra clk_find iterations
@ 2010-02-27  8:35 Viresh KUMAR
  2010-02-28 16:12 ` Ben Dooks
  0 siblings, 1 reply; 3+ messages in thread
From: Viresh KUMAR @ 2010-02-27  8:35 UTC (permalink / raw)
  To: linux-arm-kernel

Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
---
 arch/arm/common/clkdev.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

=======================================

diff --git a/arch/arm/common/clkdev.c b/arch/arm/common/clkdev.c
index aae5bc0..736dfba 100644

--- a/arch/arm/common/clkdev.c

+++ b/arch/arm/common/clkdev.c

@@ -55,7 +55,10 @@

static?struct?clk?*clk_find(const?char?*dev_id,?const?char?*con_id)
? ? if?(match?==?0)
? ? ? continue;
+? ? if?(match?==?3)
+? ? ? return?p->clk;
+
? ? if?(match?>?best)?{
? ? ? clk?=?p->clk;
? ? ? best?=?match;

-- 1.6.0.2

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

* [PATCH] CLKDEV: remove extra clk_find iterations
  2010-02-27  8:35 [PATCH] CLKDEV: remove extra clk_find iterations Viresh KUMAR
@ 2010-02-28 16:12 ` Ben Dooks
  2010-03-02  5:20   ` Viresh KUMAR
  0 siblings, 1 reply; 3+ messages in thread
From: Ben Dooks @ 2010-02-28 16:12 UTC (permalink / raw)
  To: linux-arm-kernel

On Sat, Feb 27, 2010 at 02:05:34PM +0530, Viresh KUMAR wrote:
> Signed-off-by: Viresh Kumar <viresh.kumar@st.com>

hmm, looks like your mailer has reformatted this message

and two, please add a useful description, what is going on here?

> ---
>  arch/arm/common/clkdev.c |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> =======================================
> 
> diff --git a/arch/arm/common/clkdev.c b/arch/arm/common/clkdev.c
> index aae5bc0..736dfba 100644
> 
> --- a/arch/arm/common/clkdev.c
> 
> +++ b/arch/arm/common/clkdev.c
> 
> @@ -55,7 +55,10 @@
> 
> static?struct?clk?*clk_find(const?char?*dev_id,?const?char?*con_id)
> ? ? if?(match?==?0)
> ? ? ? continue;
> +? ? if?(match?==?3)
> +? ? ? return?p->clk;
> +
> ? ? if?(match?>?best)?{
> ? ? ? clk?=?p->clk;
> ? ? ? best?=?match;
> 
> -- 1.6.0.2
> 
> 
> 
> 
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

-- 
-- 
Ben

Q:      What's a light-year?
A:      One-third less calories than a regular year.

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

* [PATCH] CLKDEV: remove extra clk_find iterations
  2010-02-28 16:12 ` Ben Dooks
@ 2010-03-02  5:20   ` Viresh KUMAR
  0 siblings, 0 replies; 3+ messages in thread
From: Viresh KUMAR @ 2010-03-02  5:20 UTC (permalink / raw)
  To: linux-arm-kernel

Ben,

On 2/28/2010 9:42 PM, Ben Dooks wrote:
> On Sat, Feb 27, 2010 at 02:05:34PM +0530, Viresh KUMAR wrote:
>> Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
> 
> hmm, looks like your mailer has reformatted this message
> 

I will send correct patch again.

> and two, please add a useful description, what is going on here?
> 

will add more description this time.


viresh.

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

end of thread, other threads:[~2010-03-02  5:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-27  8:35 [PATCH] CLKDEV: remove extra clk_find iterations Viresh KUMAR
2010-02-28 16:12 ` Ben Dooks
2010-03-02  5:20   ` Viresh KUMAR

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).