diff mbox series

reset: zynqmp: replace spaces with tabs

Message ID 20210304160042.15316-1-p.zabel@pengutronix.de (mailing list archive)
State New, archived
Headers show
Series reset: zynqmp: replace spaces with tabs | expand

Commit Message

Philipp Zabel March 4, 2021, 4 p.m. UTC
Fixes checkpatch issues:

  ERROR: code indent should use tabs where possible
  #86: FILE: drivers/reset/reset-zynqmp.c:86:
  +        .reset_id = 0,$

  WARNING: please, no spaces at the start of a line
  #86: FILE: drivers/reset/reset-zynqmp.c:86:
  +        .reset_id = 0,$

  ERROR: code indent should use tabs where possible
  #87: FILE: drivers/reset/reset-zynqmp.c:87:
  +        .num_resets = VERSAL_NR_RESETS,$

  WARNING: please, no spaces at the start of a line
  #87: FILE: drivers/reset/reset-zynqmp.c:87:
  +        .num_resets = VERSAL_NR_RESETS,$

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
 drivers/reset/reset-zynqmp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Michal Simek March 4, 2021, 4:03 p.m. UTC | #1
On 3/4/21 5:00 PM, Philipp Zabel wrote:
> Fixes checkpatch issues:
> 
>   ERROR: code indent should use tabs where possible
>   #86: FILE: drivers/reset/reset-zynqmp.c:86:
>   +        .reset_id = 0,$
> 
>   WARNING: please, no spaces at the start of a line
>   #86: FILE: drivers/reset/reset-zynqmp.c:86:
>   +        .reset_id = 0,$
> 
>   ERROR: code indent should use tabs where possible
>   #87: FILE: drivers/reset/reset-zynqmp.c:87:
>   +        .num_resets = VERSAL_NR_RESETS,$
> 
>   WARNING: please, no spaces at the start of a line
>   #87: FILE: drivers/reset/reset-zynqmp.c:87:
>   +        .num_resets = VERSAL_NR_RESETS,$
> 
> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
> ---
>  drivers/reset/reset-zynqmp.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/reset/reset-zynqmp.c b/drivers/reset/reset-zynqmp.c
> index ebd433fa09dd..daa425e74c96 100644
> --- a/drivers/reset/reset-zynqmp.c
> +++ b/drivers/reset/reset-zynqmp.c
> @@ -83,8 +83,8 @@ static const struct zynqmp_reset_soc_data zynqmp_reset_data = {
>  };
>  
>  static const struct zynqmp_reset_soc_data versal_reset_data = {
> -        .reset_id = 0,
> -        .num_resets = VERSAL_NR_RESETS,
> +	.reset_id = 0,
> +	.num_resets = VERSAL_NR_RESETS,
>  };
>  
>  static const struct reset_control_ops zynqmp_reset_ops = {
> 

Reviewed-by: Michal Simek <michal.simek@xilinx.com>

Thanks,
Michal
Philipp Zabel March 5, 2021, 9:31 a.m. UTC | #2
On Thu, 2021-03-04 at 17:03 +0100, Michal Simek wrote:
> 
> On 3/4/21 5:00 PM, Philipp Zabel wrote:
> > Fixes checkpatch issues:
> > 
> >   ERROR: code indent should use tabs where possible
> >   #86: FILE: drivers/reset/reset-zynqmp.c:86:
> >   +        .reset_id = 0,$
> > 
> >   WARNING: please, no spaces at the start of a line
> >   #86: FILE: drivers/reset/reset-zynqmp.c:86:
> >   +        .reset_id = 0,$
> > 
> >   ERROR: code indent should use tabs where possible
> >   #87: FILE: drivers/reset/reset-zynqmp.c:87:
> >   +        .num_resets = VERSAL_NR_RESETS,$
> > 
> >   WARNING: please, no spaces at the start of a line
> >   #87: FILE: drivers/reset/reset-zynqmp.c:87:
> >   +        .num_resets = VERSAL_NR_RESETS,$
> > 
> > Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
> > ---
> >  drivers/reset/reset-zynqmp.c | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> > 
> > diff --git a/drivers/reset/reset-zynqmp.c b/drivers/reset/reset-zynqmp.c
> > index ebd433fa09dd..daa425e74c96 100644
> > --- a/drivers/reset/reset-zynqmp.c
> > +++ b/drivers/reset/reset-zynqmp.c
> > @@ -83,8 +83,8 @@ static const struct zynqmp_reset_soc_data zynqmp_reset_data = {
> >  };
> >  
> >  static const struct zynqmp_reset_soc_data versal_reset_data = {
> > -        .reset_id = 0,
> > -        .num_resets = VERSAL_NR_RESETS,
> > +	.reset_id = 0,
> > +	.num_resets = VERSAL_NR_RESETS,
> >  };
> >  
> >  static const struct reset_control_ops zynqmp_reset_ops = {
> > 
> 
> Reviewed-by: Michal Simek <michal.simek@xilinx.com>

Thank you, applied to reset/next

regards
Philipp
diff mbox series

Patch

diff --git a/drivers/reset/reset-zynqmp.c b/drivers/reset/reset-zynqmp.c
index ebd433fa09dd..daa425e74c96 100644
--- a/drivers/reset/reset-zynqmp.c
+++ b/drivers/reset/reset-zynqmp.c
@@ -83,8 +83,8 @@  static const struct zynqmp_reset_soc_data zynqmp_reset_data = {
 };
 
 static const struct zynqmp_reset_soc_data versal_reset_data = {
-        .reset_id = 0,
-        .num_resets = VERSAL_NR_RESETS,
+	.reset_id = 0,
+	.num_resets = VERSAL_NR_RESETS,
 };
 
 static const struct reset_control_ops zynqmp_reset_ops = {