From: khc@pm.waw.pl (Krzysztof Halasa)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2.6.31] ixp4xx: timer and clocks cleanups
Date: Tue, 15 Sep 2009 23:59:12 +0200 [thread overview]
Message-ID: <m3fxandg3z.fsf@intrepid.localdomain> (raw)
In-Reply-To: <200909102259.n8AMx7dB014927@pilspetsen.it.uu.se> (Mikael Pettersson's message of "Fri, 11 Sep 2009 00:59:07 +0200 (MEST)")
Mikael Pettersson <mikpe@it.uu.se> writes:
> This patch does a few simple cleanups of the ixp4xx timer
> and clocksource/clockevent code in mach-ixp4xx/common.c:
>
> - ixp4xx_clocksource_init() is static and always returns 0,
> which is ignored by its only caller: make it return void
> - ixp4xx_clockevent_init(): ditto
> - ixp4xx_get_cycles() is only referenced locally: make it static
> - use the ixp4xx_timer_irq.dev_id field to pass &clockevent_ixp4xx
> to ixp4xx_timer_interrupt() via its dev_id parameter, allowing
> the code in ixp4xx_timer_interrupt() to be smaller and faster
Thanks.
--
Krzysztof Halasa
next parent reply other threads:[~2009-09-15 21:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200909102259.n8AMx7dB014927@pilspetsen.it.uu.se>
2009-09-15 21:59 ` Krzysztof Halasa [this message]
2009-09-16 10:34 ` [PATCH 2.6.31] ixp4xx: timer and clocks cleanups Mikael Pettersson
2009-09-16 12:24 ` Krzysztof Halasa
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=m3fxandg3z.fsf@intrepid.localdomain \
--to=khc@pm.waw.pl \
--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 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).