Skip to content

Commit

Permalink
local: change exclusionary language
Browse files Browse the repository at this point in the history
No functional change.

Per: https://www.ietf.org/archive/id/draft-knodel-terminology-09.html
remove some exclusionary language that was in the codebase.

Signed-off-by: Robin Getz <[email protected]>
  • Loading branch information
rgetz authored and pcercuei committed Jun 9, 2023
1 parent 0b14634 commit 7396275
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions local.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ struct iio_channel_pdata {
unsigned int nb_protected_attrs;
};

static const char * const device_attrs_blacklist[] = {
static const char * const device_attrs_denylist[] = {
"dev",
"uevent",
};
Expand Down Expand Up @@ -1265,8 +1265,8 @@ static int add_attr_to_device(struct iio_device *dev, const char *attr)
{
unsigned int i;

for (i = 0; i < ARRAY_SIZE(device_attrs_blacklist); i++)
if (!strcmp(device_attrs_blacklist[i], attr))
for (i = 0; i < ARRAY_SIZE(device_attrs_denylist); i++)
if (!strcmp(device_attrs_denylist[i], attr))
return 0;

if (!strcmp(attr, "name"))
Expand Down

0 comments on commit 7396275

Please sign in to comment.