zephyr/drivers/counter
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: counter: add Maxim DS3231 support 2020-05-07 19:45:06 +02:00
Kconfig drivers: counter: add Maxim DS3231 support 2020-05-07 19:45:06 +02:00
Kconfig.cmos
Kconfig.dtmr_cmsdk_apb
Kconfig.gecko
Kconfig.imx_epit
Kconfig.maxim_ds3231 drivers: counter: add Maxim DS3231 support 2020-05-07 19:45:06 +02:00
Kconfig.mcux_gpt
Kconfig.mcux_lptmr
Kconfig.mcux_rtc
Kconfig.nrfx Bluetooth: controller: Remove legacy LL 2020-05-08 15:07:00 +02:00
Kconfig.sam0
Kconfig.stm32_rtc
Kconfig.tmr_cmsdk_apb
Kconfig.xec
counter_cmos.c
counter_gecko_rtcc.c device: avoid casting away const from config_info pointer 2020-05-13 18:21:52 +02:00
counter_handlers.c
counter_imx_epit.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
counter_ll_stm32_rtc.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
counter_mchp_xec.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
counter_mcux_gpt.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
counter_mcux_lptmr.c devicetree: remove DT_HAS_NODE_STATUS_OKAY 2020-05-13 18:24:42 +02:00
counter_mcux_rtc.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
counter_nrfx_rtc.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
counter_nrfx_timer.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
counter_sam0_tc32.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
dualtimer_cmsdk_apb.h
maxim_ds3231.c usermode: Rework Z_SYSCALL_SPECIFIC_DRIVER to fit with device refactoring 2020-05-08 23:07:44 +02:00
timer_cmsdk_apb.h
timer_dtmr_cmsdk_apb.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
timer_tmr_cmsdk_apb.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00