pinctrl: ti :iodelay: Fixed inconsistent indenting

Message ID 1610394585-4296-1-git-send-email-jrdr.linux@gmail.com
State New
Headers show
Series
  • pinctrl: ti :iodelay: Fixed inconsistent indenting
Related show

Commit Message

Souptick Joarder Jan. 11, 2021, 7:49 p.m.
Kernel test robot throws below warning ->

smatch warnings:
drivers/pinctrl/ti/pinctrl-ti-iodelay.c:708
ti_iodelay_pinconf_group_dbg_show() warn: inconsistent indenting

Fixed the inconsistent indenting.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
---
 drivers/pinctrl/ti/pinctrl-ti-iodelay.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

Comments

Linus Walleij Jan. 18, 2021, 1:21 p.m. | #1
On Mon, Jan 11, 2021 at 8:49 PM Souptick Joarder <jrdr.linux@gmail.com> wrote:

> Kernel test robot throws below warning ->

>

> smatch warnings:

> drivers/pinctrl/ti/pinctrl-ti-iodelay.c:708

> ti_iodelay_pinconf_group_dbg_show() warn: inconsistent indenting

>

> Fixed the inconsistent indenting.

>

> Reported-by: kernel test robot <lkp@intel.com>

> Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>


Patch applied.

Yours,
Linus Walleij

Patch

diff --git a/drivers/pinctrl/ti/pinctrl-ti-iodelay.c b/drivers/pinctrl/ti/pinctrl-ti-iodelay.c
index ae91559..60a6713 100644
--- a/drivers/pinctrl/ti/pinctrl-ti-iodelay.c
+++ b/drivers/pinctrl/ti/pinctrl-ti-iodelay.c
@@ -705,9 +705,8 @@  static void ti_iodelay_pinconf_group_dbg_show(struct pinctrl_dev *pctldev,
 
 		cfg = &group->cfg[i];
 		regmap_read(iod->regmap, cfg->offset, &reg);
-			seq_printf(s, "\n\t0x%08x = 0x%08x (%3d, %3d)",
-				   cfg->offset, reg, cfg->a_delay,
-				   cfg->g_delay);
+		seq_printf(s, "\n\t0x%08x = 0x%08x (%3d, %3d)",
+			cfg->offset, reg, cfg->a_delay, cfg->g_delay);
 	}
 }
 #endif