Linux-Clk Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] clk: socfpga: deindent code to proper indentation
@ 2019-08-14  0:24 Stephen Boyd
  2019-08-14 13:27 ` Dinh Nguyen
  2019-08-14 16:23 ` Stephen Boyd
  0 siblings, 2 replies; 3+ messages in thread
From: Stephen Boyd @ 2019-08-14  0:24 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd; +Cc: linux-kernel, linux-clk, Dinh Nguyen

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] clk: socfpga: deindent code to proper indentation
  2019-08-14  0:24 [PATCH] clk: socfpga: deindent code to proper indentation Stephen Boyd
@ 2019-08-14 13:27 ` Dinh Nguyen
  2019-08-14 16:23 ` Stephen Boyd
  1 sibling, 0 replies; 3+ messages in thread
From: Dinh Nguyen @ 2019-08-14 13:27 UTC (permalink / raw)
  To: Stephen Boyd, Michael Turquette; +Cc: linux-kernel, linux-clk



On 8/13/19 7:24 PM, Stephen Boyd wrote:
> 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(-)
> 

Acked-by: Dinh Nguyen <dinguyen@kernel.org>



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] clk: socfpga: deindent code to proper indentation
  2019-08-14  0:24 [PATCH] clk: socfpga: deindent code to proper indentation Stephen Boyd
  2019-08-14 13:27 ` Dinh Nguyen
@ 2019-08-14 16:23 ` Stephen Boyd
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen Boyd @ 2019-08-14 16:23 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd; +Cc: linux-kernel, linux-clk, Dinh Nguyen

Quoting Stephen Boyd (2019-08-13 17:24:02)
> 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>
> ---

Applied to clk-next


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-14  0:24 [PATCH] clk: socfpga: deindent code to proper indentation Stephen Boyd
2019-08-14 13:27 ` Dinh Nguyen
2019-08-14 16:23 ` Stephen Boyd

Linux-Clk Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-clk/0 linux-clk/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-clk linux-clk/ https://lore.kernel.org/linux-clk \
		linux-clk@vger.kernel.org linux-clk@archiver.kernel.org
	public-inbox-index linux-clk


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-clk


AGPL code for this site: git clone https://public-inbox.org/ public-inbox