lkml.org 
[lkml]   [2019]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] clk: socfpga: deindent code to proper indentation
Date
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

\
 
 \ /
  Last update: 2019-08-14 02:24    [W:0.030 / U:12.520 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site