zephyr/samples/bluetooth
Tomasz Bursztyka e18fcbba5a device: Const-ify all device driver instance pointers
Now that device_api attribute is unmodified at runtime, as well as all
the other attributes, it is possible to switch all device driver
instance to be constant.

A coccinelle rule is used for this:

@r_const_dev_1
  disable optional_qualifier
@
@@
-struct device *
+const struct device *

@r_const_dev_2
 disable optional_qualifier
@
@@
-struct device * const
+const struct device *

Fixes #27399

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
2020-09-02 13:48:13 +02:00
..
beacon sanitycheck: inclusive language 2020-08-27 07:04:07 -04:00
central sanitycheck: inclusive language 2020-08-27 07:04:07 -04:00
central_hr sanitycheck: inclusive language 2020-08-27 07:04:07 -04:00
central_ht sanitycheck: inclusive language 2020-08-27 07:04:07 -04:00
eddystone sanitycheck: inclusive language 2020-08-27 07:04:07 -04:00
handsfree sanitycheck: inclusive language 2020-08-27 07:04:07 -04:00
hci_pwr_ctrl sanitycheck: inclusive language 2020-08-27 07:04:07 -04:00
hci_rpmsg device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
hci_spi device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
hci_uart device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
hci_usb samples: make find_package(Zephyr...) REQUIRED 2020-05-29 10:47:25 +02:00
hci_usb_h4 Bluetooth: hci_usb_h4: Add sample for USB_PID_BLE_HCI_H4_SAMPLE 2020-04-20 21:59:47 +03:00
ibeacon sanitycheck: inclusive language 2020-08-27 07:04:07 -04:00
ipsp samples: bluetooth: ipsp: add net config auto init 2020-08-27 15:59:20 +02:00
mesh device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
mesh_demo device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
mesh_provisioner zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
peripheral sanitycheck: inclusive language 2020-08-27 07:04:07 -04:00
peripheral_csc sanitycheck: inclusive language 2020-08-27 07:04:07 -04:00
peripheral_dis sanitycheck: inclusive language 2020-08-27 07:04:07 -04:00
peripheral_esp sanitycheck: inclusive language 2020-08-27 07:04:07 -04:00
peripheral_hids sanitycheck: inclusive language 2020-08-27 07:04:07 -04:00
peripheral_hr sanitycheck: inclusive language 2020-08-27 07:04:07 -04:00
peripheral_ht device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
peripheral_sc_only sanitycheck: inclusive language 2020-08-27 07:04:07 -04:00
scan_adv sanitycheck: inclusive language 2020-08-27 07:04:07 -04:00
st_ble_sensor device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
bluetooth.rst doc: Bluetooth: Documentation overhaul 2019-03-13 10:40:05 +01:00