Skip to content

Commit 9b9de62

Browse files
ananglnashif
authored andcommitted
drivers: spi_nrfx_spi: Fix compilation error
Fix a copy/paste mistake introduced by commit fdc25cd. Signed-off-by: Andrzej Głąbek <[email protected]>
1 parent 3018279 commit 9b9de62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/spi/spi_nrfx_spi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ static int spi_nrfx_pm_action(const struct device *dev,
286286

287287
case PM_DEVICE_ACTION_SUSPEND:
288288
if (data->initialized) {
289-
nrfx_spi_uninit(&config->spim);
289+
nrfx_spi_uninit(&config->spi);
290290
data->initialized = false;
291291
}
292292
break;

0 commit comments

Comments
 (0)