drivers: spi_gecko: fix duplicated variable declaration

The commit 44679c7bd8 introduced this
duplicated declaration of the local variable data.

This commit fixes this issue.

Fixes #42117

Signed-off-by: Christian Taedcke <christian.taedcke@lemonbeat.com>
This commit is contained in:
Christian Taedcke 2022-01-25 14:03:50 +01:00 committed by Anas Nashif
commit 3b271006cb

View file

@ -173,7 +173,6 @@ static void spi_gecko_xfer(const struct device *dev,
struct spi_gecko_data *data = dev->data;
struct spi_context *ctx = &data->ctx;
const struct spi_gecko_config *gecko_config = dev->config;
struct spi_gecko_data *data = dev->data;
spi_context_cs_control(ctx, true);