linux-clk.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Boyd <sboyd@kernel.org>
To: Michael Turquette <mturquette@baylibre.com>,
	Stephen Boyd <sboyd@kernel.org>
Cc: linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org,
	Dinh Nguyen <dinguyen@kernel.org>
Subject: [PATCH] clk: socfpga: deindent code to proper indentation
Date: Tue, 13 Aug 2019 17:24:02 -0700	[thread overview]
Message-ID: <20190814002402.18154-1-sboyd@kernel.org> (raw)

This code is indented oddly, causing checkpatch to complain. Indent it
properly.

Cc: Dinh Nguyen <dinguyen@kernel.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
---
 drivers/clk/socfpga/clk-gate.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/clk/socfpga/clk-gate.c b/drivers/clk/socfpga/clk-gate.c
index 2a5876dfa0cf..43ecd507bf83 100644
--- a/drivers/clk/socfpga/clk-gate.c
+++ b/drivers/clk/socfpga/clk-gate.c
@@ -45,8 +45,8 @@ static u8 socfpga_clk_get_parent(struct clk_hw *hwclk)
 	if (streq(name, SOCFPGA_MMC_CLK))
 		return perpll_src &= 0x3;
 	if (streq(name, SOCFPGA_NAND_CLK) ||
-			streq(name, SOCFPGA_NAND_X_CLK))
-			return (perpll_src >> 2) & 3;
+	    streq(name, SOCFPGA_NAND_X_CLK))
+		return (perpll_src >> 2) & 3;
 
 	/* QSPI clock */
 	return (perpll_src >> 4) & 3;

base-commit: 5f9e832c137075045d15cd6899ab0505cfb2ca4b
prerequisite-patch-id: aeb7774ad0e487e9156f9065b4ba813eb74fb9b0
prerequisite-patch-id: 71bf5a81905764a6f5639fd13eae3ce644baed20
prerequisite-patch-id: 75904dba6c6767f4d9bcfa1f32002d2992e647b7
prerequisite-patch-id: 478335b7427317b0e86f3b5433ffcec7f7c3b83e
prerequisite-patch-id: c532536a7433c0041f7ad1c7ee0b08a8d4c99a9d
prerequisite-patch-id: 7d179ce42cc421f3d110bade4783780955f8df42
prerequisite-patch-id: 390fa8a15fccc52e454e27552cdb835cb0e35b7f
prerequisite-patch-id: c9092a57b488d94d1ba249ef726c29fafb5abcbb
prerequisite-patch-id: d39cde5e03e04c09a66bffb3851a23dc5e5128d6
-- 
Sent by a computer through tubes


             reply	other threads:[~2019-08-14  0:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-14  0:24 Stephen Boyd [this message]
2019-08-14 13:27 ` [PATCH] clk: socfpga: deindent code to proper indentation Dinh Nguyen
2019-08-14 16:23 ` Stephen Boyd

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=20190814002402.18154-1-sboyd@kernel.org \
    --to=sboyd@kernel.org \
    --cc=dinguyen@kernel.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mturquette@baylibre.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;
as well as URLs for NNTP newsgroup(s).