pmdomain: core: Move mode_status_str()
Move mode_status_str() below perf_status_str(), to make declaration order match calling order of the various *_status_str() helpers. While at it, add a blank line for consistency among the three helpers. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/18ed6fb2bb92860f3af1bc7e5e4a01e9dacf2126.1725459707.git.geert+renesas@glider.be Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
parent
987a43e89e
commit
2fc934190e
@ -3230,6 +3230,15 @@ static void rtpm_status_str(struct seq_file *s, struct device *dev)
|
||||
seq_printf(s, "%-25s ", p);
|
||||
}
|
||||
|
||||
static void perf_status_str(struct seq_file *s, struct device *dev)
|
||||
{
|
||||
struct generic_pm_domain_data *gpd_data;
|
||||
|
||||
gpd_data = to_gpd_data(dev->power.subsys_data->domain_data);
|
||||
|
||||
seq_printf(s, "%-10u ", gpd_data->performance_state);
|
||||
}
|
||||
|
||||
static void mode_status_str(struct seq_file *s, struct device *dev)
|
||||
{
|
||||
struct generic_pm_domain_data *gpd_data;
|
||||
@ -3239,14 +3248,6 @@ static void mode_status_str(struct seq_file *s, struct device *dev)
|
||||
seq_printf(s, "%9s", gpd_data->hw_mode ? "HW" : "SW");
|
||||
}
|
||||
|
||||
static void perf_status_str(struct seq_file *s, struct device *dev)
|
||||
{
|
||||
struct generic_pm_domain_data *gpd_data;
|
||||
|
||||
gpd_data = to_gpd_data(dev->power.subsys_data->domain_data);
|
||||
seq_printf(s, "%-10u ", gpd_data->performance_state);
|
||||
}
|
||||
|
||||
static int genpd_summary_one(struct seq_file *s,
|
||||
struct generic_pm_domain *genpd)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user