From bb4530b1f4889082dae38b562b8b7cff63ba5855 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Date: Tue, 2 Feb 2021 16:14:34 +0100 Subject: hdata/i2c: Use inclusive language, replace the word 'whitelist' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Follow the inclusive terminology from the "Conscious Language in your Open Source Projects" guidelines [*] and replace the word "whitelist" appropriately. [*] https://github.com/conscious-lang/conscious-lang-docs/blob/main/faq.md Signed-off-by: Philippe Mathieu-Daudé Signed-off-by: Vasant Hegde --- hdata/i2c.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hdata/i2c.c b/hdata/i2c.c index 08645be..b4309db 100644 --- a/hdata/i2c.c +++ b/hdata/i2c.c @@ -118,7 +118,7 @@ static struct hdat_i2c_type hdat_i2c_devs[] = { struct hdat_i2c_info { uint32_t id; - bool whitelist; /* true if the host may use the device */ + bool allowed; /* true if the host may use the device */ const char *label; }; @@ -162,7 +162,7 @@ static struct hdat_i2c_type *map_type(uint32_t type) static struct hdat_i2c_info *get_info(uint32_t type) { static struct hdat_i2c_info no_info = - { .id = 0x0, .whitelist = false, .label = "" }; + { .id = 0x0, .allowed = false, .label = "" }; int i; for (i = 0; i < ARRAY_SIZE(hdat_i2c_extra_info); i++) @@ -340,7 +340,7 @@ int parse_i2c_devs(const struct HDIF_common_hdr *hdr, int idata_index, dt_add_property_string(node, "compatible", compat); if (info->label) dt_add_property_string(node, "label", info->label); - if (!info->whitelist) + if (!info->allowed) dt_add_property_string(node, "status", "reserved"); /* -- cgit v1.1