summaryrefslogtreecommitdiff
path: root/cpufreq/src/cpufreq-selector/cpufreq-selector-libcpufreq.c
AgeCommit message (Collapse)AuthorFilesLines
2020-11-20Cpufreq code styleraveit651-117/+120
- tabs to spaces - 4 spaces at the beginning of a line
2019-12-04avoid redundant redeclarationsPablo Barciela1-3/+0
2019-09-10cpufreq: remove -Wabsolute-value warningrbuj1-1/+1
cpufreq-selector-sysfs.c:244:18: warning: taking the absolute value of unsigned type ‘guint’ {aka ‘unsigned int’} has no effect [-Wabsolute-value] 244 | current_dist = abs (frequency - f); | ^~~ -- cpufreq-selector-procfs.c:187:7: warning: taking the absolute value of unsigned type ‘guint’ {aka ‘unsigned int’} has no effect [-Wabsolute-value] 187 | if (abs (sc_max - frequency) < abs (frequency - sc_min)) | ^~~ cpufreq-selector-procfs.c:187:34: warning: taking the absolute value of unsigned type ‘guint’ {aka ‘unsigned int’} has no effect [-Wabsolute-value] 187 | if (abs (sc_max - frequency) < abs (frequency - sc_min)) | ^~~ -- cpufreq-selector-libcpufreq.c:109:18: warning: taking the absolute value of unsigned type ‘long unsigned int’ has no effect [-Wabsolute-value] 109 | current_dist = abs (freq->frequency - frequency); | ^~~
2019-08-29Make cpufreq builds independent from kernel header version.Mike Gabriel1-3/+7
Ported from gnome-applets, see git diff e48b2d73~..5882df7f cpufreq/ configure.ac on the gnome-applets repository. Fixes mate-desktop/mate-applets#238.
2019-05-16cpufreq: support kernel 5.1.0raveit651-1/+9
2012-10-09Fixed fsf addresses. Closes #18.Steve Zesch1-1/+1
2011-11-14initialPerberos1-0/+197