Messages in this thread | | | Date | Mon, 17 Apr 2023 13:43:21 +0300 | From | Andy Shevchenko <> | Subject | Re: [PATCH v6 2/5] spi: dw: Move "dw_spi_can_dma" function |
| |
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
| |