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:
parent
102dcca6a4
commit
3b271006cb
1 changed files with 0 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue