File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -230,8 +230,7 @@ static int rm3100_init(const struct device *dev)
230230 COND_CODE_1(DT_INST_ON_BUS(inst, spi), \
231231 (SPI_DT_IODEV_DEFINE(rm3100_bus_##inst, \
232232 DT_DRV_INST(inst), \
233- SPI_OP_MODE_MASTER | SPI_WORD_SET(8) | SPI_TRANSFER_MSB, \
234- 0U)), \
233+ SPI_OP_MODE_MASTER | SPI_WORD_SET(8) | SPI_TRANSFER_MSB)),\
235234 ()); \
236235 \
237236 static const struct rm3100_config rm3100_cfg_##inst = { \
Original file line number Diff line number Diff line change @@ -342,7 +342,7 @@ static int iis3dwb_init(const struct device *dev)
342342
343343#define IIS3DWB_SPI_RTIO_DEFINE (inst ) \
344344 SPI_DT_IODEV_DEFINE(iis3dwb_iodev_##inst, \
345- DT_DRV_INST(inst), IIS3DWB_SPI_OPERATION, 0U ); \
345+ DT_DRV_INST(inst), IIS3DWB_SPI_OPERATION); \
346346 RTIO_DEFINE(iis3dwb_rtio_ctx_##inst, 8, 8);
347347
348348#ifdef CONFIG_IIS3DWB_TRIGGER
You can’t perform that action at this time.
0 commit comments