mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Daniel Lezcano <daniel.lezcano@linaro.org>
To: tglx@linutronix.de
Cc: linux-kernel@vger.kernel.org,
	Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Subject: [PATCH 08/13] clocksource/drivers/sh_cmt: Properly line-wrap sh_cmt_of_table[] initializer
Date: Fri,  5 Oct 2018 16:35:37 +0200	[thread overview]
Message-ID: <1538750143-4282-8-git-send-email-daniel.lezcano@linaro.org> (raw)
In-Reply-To: <1538750143-4282-1-git-send-email-daniel.lezcano@linaro.org>

From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

There's no good reason for the sh_cmt_of_table[] initializer to
violate the 80-column limit, especially after the commit 8d50e9476bb4
("clocksource/drivers/sh_cmt: Mark "renesas,cmt-48-gen2" deprecated")
partially fixed it -- fix the R-Car gen2 related entries as well.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Chris Paterson <chris.paterson2@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
---
 drivers/clocksource/sh_cmt.c | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/drivers/clocksource/sh_cmt.c b/drivers/clocksource/sh_cmt.c
index 0c74489..71624dc 100644
--- a/drivers/clocksource/sh_cmt.c
+++ b/drivers/clocksource/sh_cmt.c
@@ -927,8 +927,14 @@ static const struct of_device_id sh_cmt_of_table[] __maybe_unused = {
 		.compatible = "renesas,cmt-48-gen2",
 		.data = &sh_cmt_info[SH_CMT0_RCAR_GEN2]
 	},
-	{ .compatible = "renesas,rcar-gen2-cmt0", .data = &sh_cmt_info[SH_CMT0_RCAR_GEN2] },
-	{ .compatible = "renesas,rcar-gen2-cmt1", .data = &sh_cmt_info[SH_CMT1_RCAR_GEN2] },
+	{
+		.compatible = "renesas,rcar-gen2-cmt0",
+		.data = &sh_cmt_info[SH_CMT0_RCAR_GEN2]
+	},
+	{
+		.compatible = "renesas,rcar-gen2-cmt1",
+		.data = &sh_cmt_info[SH_CMT1_RCAR_GEN2]
+	},
 	{ }
 };
 MODULE_DEVICE_TABLE(of, sh_cmt_of_table);
-- 
2.7.4


  parent reply	other threads:[~2018-10-05 14:36 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20181005143253.GE1881@mai>
2018-10-05 14:35 ` [PATCH 01/13] clocksource: Convert to using %pOFn instead of device_node.name Daniel Lezcano
2018-10-05 14:35   ` [PATCH 02/13] clocksource/drivers/renesas-ostm: Convert to SPDX identifiers Daniel Lezcano
2018-10-05 14:35   ` [PATCH 03/13] clocksource/drivers/sh_cmt: " Daniel Lezcano
2018-10-05 14:35   ` [PATCH 04/13] clocksource/drivers/sh_mtu2: " Daniel Lezcano
2018-10-05 14:35   ` [PATCH 05/13] clocksource/drivers/sh_tmu: " Daniel Lezcano
2018-10-05 14:35   ` [PATCH 06/13] clocksource/drivers/sh_cmt: Fixup for 64-bit machines Daniel Lezcano
2018-10-05 14:35   ` [PATCH 07/13] clocksource/drivers/sh_cmt: Fix clocksource width for 32-bit machines Daniel Lezcano
2018-10-05 14:35   ` Daniel Lezcano [this message]
2018-10-05 14:35   ` [PATCH 09/13] dt-bindings: timer: renesas: cmt: document R-Car gen3 support Daniel Lezcano
2018-10-05 14:35   ` [PATCH 10/13] clocksource/drivers/sh_cmt: Add " Daniel Lezcano
2018-10-05 14:35   ` [PATCH 11/13] clocksource/drivers: Unify the names to timer-* format Daniel Lezcano
2018-10-05 14:35   ` [PATCH 12/13] clocksource: Remove obsolete CLOCKSOURCE_OF_DECLARE Daniel Lezcano
2018-10-05 14:35   ` [PATCH 13/13] clocksource/drivers/dw_apb: Add reset control Daniel Lezcano
2018-10-06 12:34     ` Thomas Gleixner
2018-10-06 17:02       ` Daniel Lezcano
2018-10-06 17:07         ` Thomas Gleixner
2018-10-07 12:10           ` Marek Vasut
2018-10-07 12:16             ` Daniel Lezcano
2018-10-07 20:00             ` Thomas Gleixner
2018-10-08  5:54   ` [PATCH 01/13] clocksource: Convert to using %pOFn instead of device_node.name Michal Simek

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=1538750143-4282-8-git-send-email-daniel.lezcano@linaro.org \
    --to=daniel.lezcano@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sergei.shtylyov@cogentembedded.com \
    --cc=tglx@linutronix.de \
    /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®