-static inline void sun6i_spi_drain_fifo(struct sun6i_spi *sspi, int len)I'm not so sure about this one. This function was initially to drain
> +static inline void sun6i_spi_drain_fifo(struct sun6i_spi *sspi)
> {
> + int len = sspi->fifo_depth;
> u32 reg, cnt;
> u8 byte;
any given number of bytes, which might be of interest at some point.
Removing that argument also remove that ability... Any particular
reason you want to change it?