zephyr/drivers/adc
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: adc: add Microchip MCP320x driver 2020-03-27 16:17:06 +01:00
Kconfig adc: Kconfig: Remove per instance ADC_{0..2} Kconfig symbols 2020-05-04 09:04:16 -05:00
Kconfig.lmp90xxx drivers: adc: add LMP90xxx ADC driver with GPIO 2020-01-09 17:27:52 +01:00
Kconfig.mcp320x drivers: adc: add Microchip MCP320x driver 2020-03-27 16:17:06 +01:00
Kconfig.mcux boards: frdm_kw41z: Override ADC vref choice properly 2020-02-14 22:12:21 +02:00
Kconfig.nrfx adc: Kconfig: Remove per instance ADC_{0..2} Kconfig symbols 2020-05-04 09:04:16 -05:00
Kconfig.sam0
Kconfig.sam_afec
Kconfig.stm32 drivers/adc: stm32: Don't enable ADC instance by default in driver 2020-02-05 13:56:26 -06:00
Kconfig.xec
adc_common.c adc: common: handle gain of 128 in adc_gain_invert() 2020-02-05 14:28:09 -06:00
adc_context.h timeout: Fix up API usage 2020-03-31 19:40:47 -04:00
adc_handlers.c
adc_lmp90xxx.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
adc_mchp_xec.c drivers: microchip: Convert microchip drivers to new DT_INST macros 2020-03-26 16:31:52 -05:00
adc_mcp320x.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
adc_mcux_adc12.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
adc_mcux_adc16.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
adc_nrfx_adc.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
adc_nrfx_saadc.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
adc_sam0.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
adc_sam_afec.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
adc_shell.c devicetree: remove DT_HAS_NODE_STATUS_OKAY 2020-05-13 18:24:42 +02:00
adc_stm32.c device: avoid casting away const from config_info pointer 2020-05-13 18:21:52 +02:00