]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
cpupower: Make idlestate usage unsigned
authorThomas Renninger <trenn@suse.de>
Fri, 28 Jun 2013 13:34:29 +0000 (15:34 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 4 Jul 2013 23:52:19 +0000 (01:52 +0200)
commitf605181abd95a109031a23c67a824eb8e5dcfe67
tree5601199a58e0c9f5d1cd1a3e4a07457ca7070247
parentf991fae5c6d42dfc5029150b05a78cf3f6c18cc9
cpupower: Make idlestate usage unsigned

Use unsigned int as the data type for some variables related to CPU
idle states which allows the code to be simplified slightly.

[rjw: Changelog]
Signed-off-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
tools/power/cpupower/utils/cpuidle-info.c
tools/power/cpupower/utils/helpers/sysfs.c
tools/power/cpupower/utils/helpers/sysfs.h