diff mbox series

[Bluez,v5,10/13] client: Inclusive language changes

Message ID 20210915162843.Bluez.v5.10.I222c5f74a0e9d3c7c08c0682494150bdec037dd6@changeid (mailing list archive)
State Accepted
Delegated to: Marcel Holtmann
Headers show
Series Inclusive language changes | expand

Checks

Context Check Description
tedd_an/checkpatch success Checkpatch PASS
tedd_an/gitlint success Gitlink PASS

Commit Message

Archie Pusaka Sept. 15, 2021, 8:32 a.m. UTC
From: Archie Pusaka <apusaka@chromium.org>

Use "parent" to describe dbus hierarchy.
---

(no changes since v1)

 client/main.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/client/main.c b/client/main.c
index 9a36a8c65d..229d53262f 100644
--- a/client/main.c
+++ b/client/main.c
@@ -387,19 +387,19 @@  static void print_experimental(GDBusProxy *proxy)
 	}
 }
 
-static gboolean device_is_child(GDBusProxy *device, GDBusProxy *master)
+static gboolean device_is_child(GDBusProxy *device, GDBusProxy *parent)
 {
 	DBusMessageIter iter;
 	const char *adapter, *path;
 
-	if (!master)
+	if (!parent)
 		return FALSE;
 
 	if (g_dbus_proxy_get_property(device, "Adapter", &iter) == FALSE)
 		return FALSE;
 
 	dbus_message_iter_get_basic(&iter, &adapter);
-	path = g_dbus_proxy_get_path(master);
+	path = g_dbus_proxy_get_path(parent);
 
 	if (!strcmp(path, adapter))
 		return TRUE;