Re: [PATCH v6 2/5] spi: dw: Move "dw_spi_can_dma" function

From: Andy Shevchenko
Date: Mon Apr 17 2023 - 06:46:12 EST


On Fri, Apr 14, 2023 at 12:05:17PM +0000, Joy Chakraborty wrote:
> Move "dw_spi_can_dma" function implementation below
> "dw_spi_dma_convert_width" function for handing compile dependency in
> future patches.

We refer to the functions like func().

...

> +static bool dw_spi_can_dma(struct spi_controller *master,
> + struct spi_device *spi, struct spi_transfer *xfer)
> +{
> + struct dw_spi *dws = spi_controller_get_devdata(master);
> +
> + return xfer->len > dws->fifo_len;
> +}

> +
> +

Single blank line is enough.

--
With Best Regards,
Andy Shevchenko