zephyr/drivers/can
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 net: l2: 6LoCAN implementation 2019-08-08 13:25:01 +03:00
Kconfig drivers: can: Remove per instance Kconfig symbols 2020-05-07 10:08:31 +02:00
Kconfig.loopback drivers: can: loopback: Use thread to send frames. 2020-03-12 16:10:09 +02:00
Kconfig.mcp2515 kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.mcux kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.net kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.stm32 drivers/can: stm32: configure driver thanks to compatible 2020-04-28 14:49:55 -05:00
can_common.c cleanup: include/: move can.h to drivers/can.h 2019-06-27 22:55:49 -04:00
can_handlers.c canbus: Convert canbus driver and subsys to new timeout API 2020-05-06 10:19:13 +02:00
can_loopback.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
can_loopback.h device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
can_mcp2515.c devicetree: remove DT_HAS_NODE_STATUS_OKAY 2020-05-13 18:24:42 +02:00
can_mcp2515.h device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
can_mcux_flexcan.c devicetree: remove DT_HAS_NODE_STATUS_OKAY 2020-05-13 18:24:42 +02:00
can_net.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
can_shell.c canbus: Convert canbus driver and subsys to new timeout API 2020-05-06 10:19:13 +02:00
can_stm32.c devicetree: remove DT_HAS_NODE_STATUS_OKAY 2020-05-13 18:24:42 +02:00
can_stm32.h device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
socket_can_generic.h net: sockets: can: Close the socket cleanly 2019-06-18 17:58:00 +03:00