mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Soren Brinkmann <soren.brinkmann@xilinx.com>
To: Michal Simek <michal.simek@xilinx.com>, <monstr@monstr.eu>
Cc: <linux-kernel@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>,
	John Linn <john.linn@xilinx.com>, Arnd Bergmann <arnd@arndb.de>,
	<git@xilinx.com>, <nbowler@elliptictech.com>,
	<josh.cartwright@ni.com>,
	Soren Brinkmann <soren.brinkmann@xilinx.com>
Subject: [PATCH v2 6/7] arm: zynq: timer: Fix comment style
Date: Wed, 19 Dec 2012 10:18:41 -0800	[thread overview]
Message-ID: <07f27d3f-d6cd-44e6-95fe-739f9583a3bd@DB3EHSMHS012.ehs.local> (raw)
In-Reply-To: <ab760e55-61c2-46b0-b899-1935c213536e@CO1EHSMHS026.ehs.local>

Fixing multi line comment style at two locations.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Reviewed-by: Josh Cartwright <josh.cartwright@ni.com>
---
 arch/arm/mach-zynq/timer.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/arch/arm/mach-zynq/timer.c b/arch/arm/mach-zynq/timer.c
index 2b23d0f..7b2e047 100644
--- a/arch/arm/mach-zynq/timer.c
+++ b/arch/arm/mach-zynq/timer.c
@@ -36,7 +36,8 @@
 
 #define XTTCPS_CNT_CNTRL_DISABLE_MASK	0x1
 
-/* Setup the timers to use pre-scaling, using a fixed value for now that will
+/*
+ * Setup the timers to use pre-scaling, using a fixed value for now that will
  * work across most input frequency, but it may need to be more dynamic
  */
 #define PRESCALE_EXPONENT	11	/* 2 ^ PRESCALE_EXPONENT = PRESCALE */
@@ -89,8 +90,10 @@ static void xttcps_set_interval(struct xttcps_timer *timer,
 
 	__raw_writel(cycles, timer->base_addr + XTTCPS_INTR_VAL_OFFSET);
 
-	/* Reset the counter (0x10) so that it starts from 0, one-shot
-	   mode makes this needed for timing to be right. */
+	/*
+	 * Reset the counter (0x10) so that it starts from 0, one-shot
+	 * mode makes this needed for timing to be right.
+	 */
 	ctrl_reg |= CNT_CNTRL_RESET;
 	ctrl_reg &= ~XTTCPS_CNT_CNTRL_DISABLE_MASK;
 	__raw_writel(ctrl_reg, timer->base_addr + XTTCPS_CNT_CNTRL_OFFSET);
-- 
1.8.0.2



  parent reply	other threads:[~2012-12-19 18:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-19 18:16 [PATCH v2 0/7] Updates for Zynq's timer driver Soren Brinkmann
2012-12-19 18:18 ` [PATCH v2 1/7] arm: zynq: timer: Replace PSS through PS Soren Brinkmann
2012-12-19 18:18 ` [PATCH v2 2/7] arm: zynq: timer: Remove unnecessary register write Soren Brinkmann
2012-12-19 18:18 ` [PATCH v2 3/7] arm: zynq: timer: Remove unused #defines Soren Brinkmann
2012-12-19 18:18 ` [PATCH v2 4/7] arm: zynq: timer: Align columns Soren Brinkmann
2012-12-19 18:18 ` [PATCH v2 5/7] arm: zynq: timer: Remove redundant #includes Soren Brinkmann
2012-12-19 18:18 ` Soren Brinkmann [this message]
2012-12-19 18:18 ` [PATCH v2 7/7] arm: zynq: timer: Set clock_event cpumask Soren Brinkmann
2012-12-19 19:04 ` [PATCH v2 0/7] Updates for Zynq's timer driver Josh Cartwright

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=07f27d3f-d6cd-44e6-95fe-739f9583a3bd@DB3EHSMHS012.ehs.local \
    --to=soren.brinkmann@xilinx.com \
    --cc=arnd@arndb.de \
    --cc=git@xilinx.com \
    --cc=john.linn@xilinx.com \
    --cc=josh.cartwright@ni.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=michal.simek@xilinx.com \
    --cc=monstr@monstr.eu \
    --cc=nbowler@elliptictech.com \
    /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

all inboxes | Powered by JetHome®