zephyr/drivers/spi
Martí Bolívar 6e8775ff84 devicetree: remove DT_HAS_NODE_STATUS_OKAY
Several reviewers agreed that DT_HAS_NODE_STATUS_OKAY(...) was an
undesirable API for the following reasons:

- it's inconsistent with the rest of the DT_NODE_HAS_FOO names
- DT_NODE_HAS_FOO_BAR_BAZ(node) was agreed upon as a shorthand
  for macros which are equivalent to
  DT_NODE_HAS_FOO(node) && DT_NODE_HAS_BAR(node) &&
- DT_NODE_HAS_BAZ(node), and DT_HAS_NODE_STATUS_OKAY is an odd duck
- DT_NODE_HAS_STATUS(..., okay) was viewed as more readable anyway
- it is seen as a somewhat aesthetically challenged name

Replace all users with DT_NODE_HAS_STATUS(..., okay), which is
semantically equivalent.

This is mostly done with sed, but a few remaining cases were done by
hand, along with whitespace, docs, and comment changes. These special
cases include the Nordic SOC static assert files.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2020-05-13 18:24:42 +02:00
..
CMakeLists.txt
Kconfig
Kconfig.cc13xx_cc26xx
Kconfig.dw
Kconfig.gecko
Kconfig.litex
Kconfig.mcux_dspi
Kconfig.mcux_flexcomm
Kconfig.mcux_lpspi
Kconfig.nrfx drivers: nrf: Remove no longer suitable dependencies on Kconfig options 2020-04-03 14:47:32 +02:00
Kconfig.oc_simple
Kconfig.rv32m1_lpspi
Kconfig.sam drivers: spi: spi_sam: rework device tree support 2020-04-25 09:29:54 -05:00
Kconfig.sam0
Kconfig.sifive
Kconfig.stm32 drivers: spi: Enable dma transfer for SPI on stm32 2020-05-04 09:46:07 -05:00
Kconfig.xec_qmspi
spi_cc13xx_cc26xx.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
spi_context.h
spi_dw.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
spi_dw.h device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
spi_dw_regs.h
spi_gecko.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
spi_handlers.c
spi_litespi.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
spi_litespi.h drivers: litex: Convert litex drivers to new DT_INST macros 2020-03-30 12:49:43 -05:00
spi_ll_stm32.c drivers: spi: driver reloading dma buffers in the main transceive loop 2020-05-13 16:22:10 +02:00
spi_ll_stm32.h devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
spi_mcux_dspi.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
spi_mcux_flexcomm.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
spi_mcux_lpspi.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
spi_nrfx_spi.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
spi_nrfx_spim.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
spi_nrfx_spis.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
spi_oc_simple.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
spi_oc_simple.h
spi_rv32m1_lpspi.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
spi_sam.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
spi_sam0.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
spi_sifive.c drivers: spi: sifive: Fix bug with checking if tx fifo is full 2020-04-23 17:28:48 +02:00
spi_sifive.h device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
spi_xec_qmspi.c devicetree: remove DT_HAS_NODE_STATUS_OKAY 2020-05-13 18:24:42 +02:00