Skip to content

Commit 084609a

Browse files
tpamborcfriedt
authored andcommitted
drivers: spi: shell: fix deprecation warning
Remove deprecated delay parameter from SPI DT macro. Signed-off-by: Tim Pambor <[email protected]>
1 parent f0cbba0 commit 084609a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/spi/spi_shell.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ struct map {
5757
#define INST_SPI_SHELL_DEVICE_AS_SPI_DEV(node_id) \
5858
{ \
5959
.name = DEVICE_DT_NAME(node_id), \
60-
.spec = SPI_DT_SPEC_GET(node_id, 0, 0), \
60+
.spec = SPI_DT_SPEC_GET(node_id, 0), \
6161
},
6262

6363
#define INST_SPI_SHELL_DEVICE_AS_SPI_DEV_AS_SPI_BUS(dev) \

0 commit comments

Comments
 (0)