drivers: spi: litespi: Migrate spi_context_complete usage

This commit updates the LiteSPI SPI driver to reflect the
`spi_context_complete` function signature change introduced in the
commit 4c20403629.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit is contained in:
Stephanos Ioannidis 2022-08-31 22:22:48 +09:00
commit 068006e1dc

View file

@ -121,7 +121,7 @@ static void spi_litespi_xfer(const struct device *dev,
ctx->rx_buf[i] = read_data;
}
}
spi_context_complete(ctx, 0);
spi_context_complete(ctx, dev, 0);
}
/* API Functions */