tools / cpupower: Fix no idle state information return value
authorPrarit Bhargava <prarit@redhat.com>
Sun, 14 Dec 2014 14:06:38 +0000 (09:06 -0500)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 19 Dec 2014 22:01:12 +0000 (23:01 +0100)
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>

No differences found