From: ben-linux@fluff.org (Ben Dooks)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] CLKDEV: remove extra clk_find iterations
Date: Sun, 28 Feb 2010 16:12:16 +0000 [thread overview]
Message-ID: <20100228161216.GH30679@trinity.fluff.org> (raw)
In-Reply-To: <4B88D956.1090003@st.com>
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.
next prev parent reply other threads:[~2010-02-28 16:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-27 8:35 [PATCH] CLKDEV: remove extra clk_find iterations Viresh KUMAR
2010-02-27 8:35 ` Viresh KUMAR
2010-02-28 16:12 ` Ben Dooks [this message]
2010-03-02 5:20 ` Viresh KUMAR
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100228161216.GH30679@trinity.fluff.org \
--to=ben-linux@fluff.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.