diff options
author | Prarit Bhargava <prarit@redhat.com> | 2014-12-14 15:06:38 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-12-19 23:01:12 +0100 |
commit | a59e5109f648f703d877d3c33cc5a7ef283dba83 (patch) | |
tree | 262c61561056dabd1d188a63d41bbc28ac2bd462 /arch/arm/mach-omap2/gpmc-smsc911x.h | |
parent | tools / cpupower: Correctly detect if running as root (diff) | |
download | linux-a59e5109f648f703d877d3c33cc5a7ef283dba83.tar.xz linux-a59e5109f648f703d877d3c33cc5a7ef283dba83.zip |
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>
Diffstat (limited to 'arch/arm/mach-omap2/gpmc-smsc911x.h')
0 files changed, 0 insertions, 0 deletions