zephyr/drivers/flash
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 drivers: flash: Add driver for AT45 compatible SPI flash chips 2020-05-07 14:51:10 +02:00
Kconfig drivers: flash: Add driver for AT45 compatible SPI flash chips 2020-05-07 14:51:10 +02:00
Kconfig.at45 drivers: flash: Add driver for AT45 compatible SPI flash chips 2020-05-07 14:51:10 +02:00
Kconfig.gecko
Kconfig.mcux
Kconfig.nios2_qspi
Kconfig.nor
Kconfig.nordic_qspi_nor
Kconfig.nrf
Kconfig.rv32m1
Kconfig.sam
Kconfig.sam0
Kconfig.simulator
Kconfig.stm32
Kconfig.w25qxxdv drivers: Replace GPIO_CS Kconfig with devicetree detection 2020-05-09 13:07:05 +02:00
flash_gecko.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
flash_handlers.c
flash_page_layout.c
flash_priv.h
flash_sam.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
flash_sam0.c flash: sam0: set write_block_size=1 when EMULATE_BYTE_PAGES is set 2020-05-07 10:06:17 +02:00
flash_shell.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
flash_simulator.c drivers: flash: flash_simulator: Convert to new DT macros 2020-04-30 04:47:44 -05:00
flash_stm32.c
flash_stm32.h
flash_stm32f0x.c
flash_stm32f1x.c
flash_stm32f3x.c
flash_stm32f4x.c
flash_stm32f7x.c
flash_stm32g0x.c
flash_stm32g4x.c
flash_stm32l4x.c
flash_stm32wbx.c
nrf_qspi_nor.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
soc_flash_mcux.c devicetree: remove DT_HAS_NODE_STATUS_OKAY 2020-05-13 18:24:42 +02:00
soc_flash_nios2_qspi.c
soc_flash_nrf.c devicetree: remove DT_HAS_NODE_STATUS_OKAY 2020-05-13 18:24:42 +02:00
soc_flash_rv32m1.c
spi_flash_at45.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
spi_flash_w25qxxdv.c drivers: Replace GPIO_CS Kconfig with devicetree detection 2020-05-09 13:07:05 +02:00
spi_flash_w25qxxdv.h drivers: Replace GPIO_CS Kconfig with devicetree detection 2020-05-09 13:07:05 +02:00
spi_flash_w25qxxdv_defs.h
spi_nor.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
spi_nor.h