Loading drivers/devfreq/devfreq.c +2 −2 Original line number Diff line number Diff line Loading @@ -1200,7 +1200,7 @@ static ssize_t available_frequencies_show(struct device *d, unsigned long freq = 0; use_opp = dev_pm_opp_get_opp_count(dev) > 0; do { while (use_opp || (!use_opp && i < max_state)) { if (use_opp) { opp = dev_pm_opp_find_freq_ceil(dev, &freq); if (IS_ERR(opp)) Loading @@ -1213,7 +1213,7 @@ static ssize_t available_frequencies_show(struct device *d, count += scnprintf(&buf[count], (PAGE_SIZE - count - 2), "%lu ", freq); freq++; } while (use_opp || (!use_opp && i < max_state)); } /* Truncate the trailing space */ if (count) Loading Loading
drivers/devfreq/devfreq.c +2 −2 Original line number Diff line number Diff line Loading @@ -1200,7 +1200,7 @@ static ssize_t available_frequencies_show(struct device *d, unsigned long freq = 0; use_opp = dev_pm_opp_get_opp_count(dev) > 0; do { while (use_opp || (!use_opp && i < max_state)) { if (use_opp) { opp = dev_pm_opp_find_freq_ceil(dev, &freq); if (IS_ERR(opp)) Loading @@ -1213,7 +1213,7 @@ static ssize_t available_frequencies_show(struct device *d, count += scnprintf(&buf[count], (PAGE_SIZE - count - 2), "%lu ", freq); freq++; } while (use_opp || (!use_opp && i < max_state)); } /* Truncate the trailing space */ if (count) Loading