2021-01-11 19:52:34

by Souptick Joarder

[permalink] [raw]
Subject: [PATCH] pinctrl: ti :iodelay: Fixed inconsistent indenting

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 <[email protected]>
Signed-off-by: Souptick Joarder <[email protected]>
---
drivers/pinctrl/ti/pinctrl-ti-iodelay.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)

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
--
1.9.1


2021-01-19 04:19:44

by Linus Walleij

[permalink] [raw]
Subject: Re: [PATCH] pinctrl: ti :iodelay: Fixed inconsistent indenting

On Mon, Jan 11, 2021 at 8:49 PM Souptick Joarder <[email protected]> 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 <[email protected]>
> Signed-off-by: Souptick Joarder <[email protected]>

Patch applied.

Yours,
Linus Walleij