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
counter_cmos.c drivers: counter: add counter_get_value(), deprecate counter_read() 2020-01-28 12:52:46 -05:00
counter_gecko_rtcc.c device: avoid casting away const from config_info pointer 2020-05-13 18:21:52 +02:00
counter_handlers.c drivers: counter: Fix get_value verification handler 2020-03-25 16:25:45 +01:00
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
Kconfig drivers: counter: add Maxim DS3231 support 2020-05-07 19:45:06 +02:00
Kconfig.cmos kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.dtmr_cmsdk_apb kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
Kconfig.gecko kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.imx_epit drivers: counter: imx_epit: Convert driver to new DT_INST macros 2020-04-04 09:34:00 -05:00
Kconfig.maxim_ds3231 drivers: counter: add Maxim DS3231 support 2020-05-07 19:45:06 +02:00
Kconfig.mcux_gpt drivers: mcux_gpt: convert to DT_INST defines 2020-03-11 07:59:38 -06:00
Kconfig.mcux_lptmr drivers: counter: add NXP Kinetis LPTMR driver 2020-03-27 11:17:58 -05:00
Kconfig.mcux_rtc kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.nrfx Bluetooth: controller: Remove legacy LL 2020-05-08 15:07:00 +02:00
Kconfig.sam0 drivers: counter: sam0_tc32: rework devicetree support 2020-04-25 13:33:56 -05:00
Kconfig.stm32_rtc drivers: counter: stm32: enable support for H7 series 2020-03-16 10:23:13 -05:00
Kconfig.tmr_cmsdk_apb kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
Kconfig.xec kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
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