zephyr/drivers/pwm
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: pwm: add driver for NXP Kinetis TPM module 2020-05-06 11:33:37 -05:00
Kconfig drivers: pwm: add driver for NXP Kinetis TPM module 2020-05-06 11:33:37 -05:00
Kconfig.dw
Kconfig.esp32
Kconfig.imx
Kconfig.litex
Kconfig.mcux
Kconfig.mcux_ftm
Kconfig.mcux_tpm drivers: pwm: add driver for NXP Kinetis TPM module 2020-05-06 11:33:37 -05:00
Kconfig.nrf5_sw
Kconfig.nrfx drivers: pwm: nrfx: Convert to use DTS NODELABEL for instance detection 2020-05-05 08:40:19 -05:00
Kconfig.pca9685
Kconfig.rv32m1_tpm
Kconfig.sam
Kconfig.sifive
Kconfig.stm32 drivers: pwm: stm32: remove remaining Kconfig instances 2020-05-05 10:52:51 -05:00
Kconfig.xec
pwm_dw.c device: avoid casting away const from config_info pointer 2020-05-13 18:21:52 +02:00
pwm_handlers.c
pwm_imx.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
pwm_led_esp32.c device: avoid casting away const from config_info pointer 2020-05-13 18:21:52 +02:00
pwm_litex.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
pwm_mchp_xec.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
pwm_mcux.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
pwm_mcux_ftm.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
pwm_mcux_tpm.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
pwm_nrf5_sw.c device: avoid casting away const from config_info pointer 2020-05-13 18:21:52 +02:00
pwm_nrfx.c devicetree: remove DT_HAS_NODE_STATUS_OKAY 2020-05-13 18:24:42 +02:00
pwm_pca9685.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
pwm_pca9685.h
pwm_rv32m1_tpm.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
pwm_sam.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
pwm_shell.c
pwm_sifive.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
pwm_stm32.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
pwm_stm32.h