mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-06 07:35:26 +00:00
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> |
||
---|---|---|
.. | ||
adt7420 | ||
adxl362 | ||
adxl372 | ||
amg88xx | ||
ams_iAQcore | ||
apds9960 | ||
bme280 | ||
bme680 | ||
bmg160 | ||
bmm150 | ||
bq274xx | ||
ccs811 | ||
dht | ||
ens210 | ||
fxas21002 | ||
fxos8700 | ||
fxos8700-hid | ||
grove_light | ||
grove_temperature | ||
hmc5883l | ||
hts221 | ||
isl29035 | ||
lis2dh | ||
lps22hb | ||
lps22hh | ||
lsm6dsl | ||
lsm303dlhc | ||
magn_polling | ||
max30101 | ||
max44009 | ||
mcp9808 | ||
mpr | ||
mpu6050 | ||
ms5837 | ||
sensor_shell | ||
sht3xd | ||
sx9500 | ||
th02 | ||
thermometer | ||
ti_hdc | ||
tmp112 | ||
tmp116 | ||
vl53l0x | ||
sensor.rst |