commit | a59e5109f648f703d877d3c33cc5a7ef283dba83 | [log] [tgz] |
---|---|---|
author | Prarit Bhargava <prarit@redhat.com> | Sun Dec 14 09:06:38 2014 -0500 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Fri Dec 19 23:01:12 2014 +0100 |
tree | 262c61561056dabd1d188a63d41bbc28ac2bd462 | |
parent | ad1d8313cdeec8bc10cecb2143d047eb565b9f65 [diff] |
tools / cpupower: Fix no idle state information return value sysfs_get_idlestate_count() returns an unsigned int. Returning -ENODEV is not the right thing to do here, and in any case is handled the same way as if there are no states found. Signed-off-by: Prarit Bhargava <prarit@redhat.com> Acked-by: Thomas Renninger <trenn@suse.de> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>