diff options
author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2021-02-02 16:14:34 +0100 |
---|---|---|
committer | Vasant Hegde <hegdevasant@linux.vnet.ibm.com> | 2021-02-04 13:56:22 +0530 |
commit | bb4530b1f4889082dae38b562b8b7cff63ba5855 (patch) | |
tree | 18f9ed236dcfd0e260396a8ba16e202a95558329 | |
parent | d0f039a37673b2bb48a6fd518d1e2065b47e430c (diff) | |
download | skiboot-bb4530b1f4889082dae38b562b8b7cff63ba5855.zip skiboot-bb4530b1f4889082dae38b562b8b7cff63ba5855.tar.gz skiboot-bb4530b1f4889082dae38b562b8b7cff63ba5855.tar.bz2 |
hdata/i2c: Use inclusive language, replace the word 'whitelist'
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é <philmd@redhat.com>
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
-rw-r--r-- | hdata/i2c.c | 6 |
1 files 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"); /* |