Betty Dall 6c0244091e ACPI / device_sysfs: Change _SUN and _STA show functions error return to EIO
The error return from a sysfs show function is passed up through
the call chain and visible as the return from the read system call.
The show functions for the _STA and _SUN object currently return
-ENODEV. This patch changes the return to -EIO. ENODEV makes less
sense since the "device' exists or there wouldn't be a sysfs file.

Signed-off-by: Betty Dall <betty.dall@hpe.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2016-05-04 23:47:31 +02:00
..
2016-03-14 14:19:52 +01:00
2016-01-04 22:10:30 +01:00
2016-04-02 01:17:36 +02:00
2016-03-09 23:23:21 +01:00
2016-04-02 01:17:36 +02:00
2016-02-16 19:58:25 +01:00
2016-02-16 19:58:25 +01:00