Bluetooth: use inclusive language when tracking connections
authorArchie Pusaka <apusaka@chromium.org>
Fri, 4 Jun 2021 08:26:26 +0000 (16:26 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 26 Jun 2021 05:12:43 +0000 (07:12 +0200)
commit39bc74ca0119025e3cc24b97ebd964b5c605aa83
tree0cd5b05bdaa64a8a7064b82a005dc57b9912c5cf
parent74be523ce6bed0531e4f31c3e1387909589e9bfe
Bluetooth: use inclusive language when tracking connections

This patch replaces some non-inclusive terms based on the appropriate
language mapping table compiled by the Bluetooth SIG:
https://specificationrefs.bluetooth.com/language-mapping/Appropriate_Language_Mapping_Table.pdf

Specifically, these terms are replaced:
master -> central
slave  -> peripheral

Signed-off-by: Archie Pusaka <apusaka@chromium.org>
Reviewed-by: Miao-chen Chou <mcchou@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_event.c
net/bluetooth/hci_request.c