zephyr/drivers/pinmux
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
..
stm32 board: arm: Add Support For 96Boards Aerocore2 2020-05-08 07:33:43 -05:00
CMakeLists.txt arm: Removed support for CC2650 2020-01-18 09:27:55 -06:00
dummy.c boards: move pinmux driver to board/soc dir 2017-10-31 12:32:34 -04:00
Kconfig arm: Removed support for CC2650 2020-01-18 09:27:55 -06:00
Kconfig.beetle kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.cc13xx_cc26xx kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.esp32 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.hsdk kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.intel_s1000 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.mcux kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.mcux_lpc kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.rv32m1 drivers: pinmux: rv32m1: Convert driver to new DT_INST macros 2020-04-10 14:38:04 -05:00
Kconfig.sam0 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.sifive kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
Kconfig.stm32 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.xec drivers: pinmux: mchp_xec: Convert to using new device tree macros 2020-04-28 07:43:31 -05:00
pinmux.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
pinmux_cc13xx_cc26xx.c cleanup: include/: move misc/__assert.h to sys/__assert.h 2019-06-27 22:55:49 -04:00
pinmux_esp32.c drivers: esp32: Convert esp32 drivers to new DT_INST macros 2020-03-26 08:49:11 -05:00
pinmux_hsdk.c arc: hsdk: add pinmux driver support and doc enhancement 2019-09-17 20:40:38 +08:00
pinmux_intel_s1000.c drivers: pinmux: intel_s1000: Convert to DT_INST 2020-04-20 15:21:39 -05:00
pinmux_mchp_xec.c devicetree: remove DT_HAS_NODE_STATUS_OKAY 2020-05-13 18:24:42 +02:00
pinmux_mcux.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
pinmux_mcux_lpc.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
pinmux_rv32m1.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
pinmux_sam0.c devicetree: remove DT_HAS_NODE_STATUS_OKAY 2020-05-13 18:24:42 +02:00
pinmux_sifive.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00