Loading drivers/cpuidle/lpm-levels-of.c +5 −4 Original line number Diff line number Diff line Loading @@ -102,8 +102,8 @@ static ssize_t lpm_latency_show(struct kobject *kobj, return ret; } ssize_t lpm_enable_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) static ssize_t lpm_enable_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) { int ret = 0; struct kernel_param kp; Loading @@ -125,7 +125,8 @@ ssize_t lpm_enable_show(struct kobject *kobj, struct kobj_attribute *attr, return ret; } ssize_t lpm_enable_store(struct kobject *kobj, struct kobj_attribute *attr, static ssize_t lpm_enable_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t len) { int ret = 0; Loading Loading @@ -611,7 +612,7 @@ void free_cluster_node(struct lpm_cluster *cluster) * level of a cluster is consistent with reference to its * child nodes. */ struct lpm_cluster *parse_cluster(struct device_node *node, static struct lpm_cluster *parse_cluster(struct device_node *node, struct lpm_cluster *parent) { struct lpm_cluster *c; Loading drivers/soc/qcom/lpm-stats.c +4 −4 Original line number Diff line number Diff line Loading @@ -21,8 +21,8 @@ #define MAX_STR_LEN 256 #define MAX_TIME_LEN 20 char *lpm_stats_reset = "reset"; char *lpm_stats_suspend = "suspend"; static char *lpm_stats_reset = "reset"; static char *lpm_stats_suspend = "suspend"; struct lpm_sleep_time { struct kobj_attribute ts_attr; Loading @@ -46,7 +46,7 @@ static struct level_stats suspend_time_stats; static DEFINE_PER_CPU_SHARED_ALIGNED(struct lpm_stats, cpu_stats); bool str_is_reset(const char __user *in, size_t count) static bool str_is_reset(const char __user *in, size_t count) { loff_t ppos = 0; char buffer[64] = { 0 }; Loading Loading @@ -254,7 +254,7 @@ static ssize_t lpm_stats_file_write(struct file *file, return count; } int lifo_stats_file_show(struct seq_file *m, void *v) static int lifo_stats_file_show(struct seq_file *m, void *v) { struct lpm_stats *stats = (struct lpm_stats *)m->private; struct list_head *centry = NULL; Loading Loading
drivers/cpuidle/lpm-levels-of.c +5 −4 Original line number Diff line number Diff line Loading @@ -102,8 +102,8 @@ static ssize_t lpm_latency_show(struct kobject *kobj, return ret; } ssize_t lpm_enable_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) static ssize_t lpm_enable_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) { int ret = 0; struct kernel_param kp; Loading @@ -125,7 +125,8 @@ ssize_t lpm_enable_show(struct kobject *kobj, struct kobj_attribute *attr, return ret; } ssize_t lpm_enable_store(struct kobject *kobj, struct kobj_attribute *attr, static ssize_t lpm_enable_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t len) { int ret = 0; Loading Loading @@ -611,7 +612,7 @@ void free_cluster_node(struct lpm_cluster *cluster) * level of a cluster is consistent with reference to its * child nodes. */ struct lpm_cluster *parse_cluster(struct device_node *node, static struct lpm_cluster *parse_cluster(struct device_node *node, struct lpm_cluster *parent) { struct lpm_cluster *c; Loading
drivers/soc/qcom/lpm-stats.c +4 −4 Original line number Diff line number Diff line Loading @@ -21,8 +21,8 @@ #define MAX_STR_LEN 256 #define MAX_TIME_LEN 20 char *lpm_stats_reset = "reset"; char *lpm_stats_suspend = "suspend"; static char *lpm_stats_reset = "reset"; static char *lpm_stats_suspend = "suspend"; struct lpm_sleep_time { struct kobj_attribute ts_attr; Loading @@ -46,7 +46,7 @@ static struct level_stats suspend_time_stats; static DEFINE_PER_CPU_SHARED_ALIGNED(struct lpm_stats, cpu_stats); bool str_is_reset(const char __user *in, size_t count) static bool str_is_reset(const char __user *in, size_t count) { loff_t ppos = 0; char buffer[64] = { 0 }; Loading Loading @@ -254,7 +254,7 @@ static ssize_t lpm_stats_file_write(struct file *file, return count; } int lifo_stats_file_show(struct seq_file *m, void *v) static int lifo_stats_file_show(struct seq_file *m, void *v) { struct lpm_stats *stats = (struct lpm_stats *)m->private; struct list_head *centry = NULL; Loading