Re: [PATCH 1/4] dmaengine: sh: rcar-dmac: fix style in struct initialization

Frank Li <[email protected]>
Newsgroups org.kernel.vger.linux-renesas-soc,org.kernel.vger.dmaengine
Message-ID <ao22X9RNzAWTYgGr@SMW015318>
On Tue, Aug 25, 2026 at 04:15:43PM +0200, Wolfram Sang wrote:
> A new member will be added to the struct. Before that, adhere to coding
> style by using a single space when assigning values.
>
> Signed-off-by: Wolfram Sang <[email protected]>
> ---

Reviewed-by: Frank Li <[email protected]>

>  drivers/dma/sh/rcar-dmac.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/dma/sh/rcar-dmac.c b/drivers/dma/sh/rcar-dmac.c
> index 44eab2d21d54..cf07c17847d0 100644
> --- a/drivers/dma/sh/rcar-dmac.c
> +++ b/drivers/dma/sh/rcar-dmac.c
> @@ -1998,13 +1998,13 @@ static void rcar_dmac_shutdown(struct platform_device *pdev)
>  }
>
>  static const struct rcar_dmac_of_data rcar_dmac_data = {
> -	.chan_offset_base	= 0x8000,
> -	.chan_offset_stride	= 0x80,
> +	.chan_offset_base = 0x8000,
> +	.chan_offset_stride = 0x80,
>  };
>
>  static const struct rcar_dmac_of_data rcar_gen4_dmac_data = {
> -	.chan_offset_base	= 0x0,
> -	.chan_offset_stride	= 0x1000,
> +	.chan_offset_base = 0x0,
> +	.chan_offset_stride = 0x1000,
>  };
>
>  static const struct of_device_id rcar_dmac_of_ids[] = {
> --
> 2.47.3
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.