Skip to content
Commit 5c57cf64 authored by Bhushan Shah's avatar Bhushan Shah 📱
Browse files

Revert "skip the disabled backlight device"

This reverts commits 86c3548d and
5c0d35ca.

Not all raw interfaces have device/enabled under the backlight sysfs
interface. Some examples are nvidia-bl and acpi_video0, they are raw
interfaces but doesn't have device/enabled properties.

Overall we can just return true even if file doesn't exist but then this
code serves no purpose.

BUG: 381114
BUG: 381199



Ackd-by: default avatarKai Uwe Broulik <kde@privat.broulik.de>
CCMAIL: AceLan Kao <acelan@acelan.idv.tw>
parent 7b61a463
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment