drivers: spi: gecko: Migrate spi_context_complete usage

This commit updates the Gecko 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:33 +09:00
commit fedf0faac0

View file

@ -181,7 +181,7 @@ static void spi_gecko_xfer(const struct device *dev,
} while (!ret && spi_gecko_transfer_ongoing(data)); } while (!ret && spi_gecko_transfer_ongoing(data));
spi_context_cs_control(ctx, false); spi_context_cs_control(ctx, false);
spi_context_complete(ctx, 0); spi_context_complete(ctx, dev, 0);
} }
static void spi_gecko_init_pins(const struct device *dev) static void spi_gecko_init_pins(const struct device *dev)