summaryrefslogtreecommitdiff
path: root/cpufreq/src/cpufreq-selector/cpufreq-selector-sysfs.c
AgeCommit message (Collapse)AuthorFilesLines
2020-11-20Cpufreq code styleraveit651-279/+283
- tabs to spaces - 4 spaces at the beginning of a line
2019-12-04avoid redundant redeclarationsPablo Barciela1-2/+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-05-27cpufreq: deprecated g_type_class_add_privateWu Xiaotian1-7/+2
2019-04-14Use g_list_free_full() convenience functionrbuj1-9/+3
void g_list_free_full (GList *list, GDestroyNotify free_func); Convenience method, which frees all the memory used by a GList, and calls free_func on every element's data. https://developer.gnome.org/glib/stable/glib-Doubly-Linked-Lists.html#g-list-free-full
2012-10-09Fixed fsf addresses. Closes #18.Steve Zesch1-1/+1
2011-11-14initialPerberos1-0/+430