summaryrefslogtreecommitdiff
path: root/src/backlight
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-09-24 20:18:02 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-09-24 20:22:05 -0400
commit1cf03a4f8e5de53ca1ecc8a6dc64cb32ab8de536 (patch)
tree6094b1ee916089f2ce3d410be873b3b2de97cc15 /src/backlight
parentc7bf9d5183deef8c8c01c86de2bc1bcbca7d3bff (diff)
systemctl,networkctl,busctl,backlight: use STRPTR_IN_SET
Diffstat (limited to 'src/backlight')
-rw-r--r--src/backlight/backlight.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backlight/backlight.c b/src/backlight/backlight.c
index 45be135a23..7c59f60d5f 100644
--- a/src/backlight/backlight.c
+++ b/src/backlight/backlight.c
@@ -167,7 +167,7 @@ static bool validate_device(struct udev *udev, struct udev_device *device) {
continue;
v = udev_device_get_sysattr_value(other, "type");
- if (!streq_ptr(v, "platform") && !streq_ptr(v, "firmware"))
+ if (!STRPTR_IN_SET(v, "platform", "firmware"))
continue;
/* OK, so there's another backlight device, and it's a