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 <[email protected]>
---
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 = {
--
2.29.2
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 <[email protected]>
> ---
> 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 <[email protected]>
Thanks,
Michal
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 <[email protected]>
> > ---
> > 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 <[email protected]>
Thank you, applied to reset/next
regards
Philipp