Merge branches 'pm-domains', 'pm-sleep' and 'pm-cpufreq'

* pm-domains:
  PM / Domains: provide pm_genpd_poweroff_noirq() stub
  Revert "PM / Domains: Handle safely genpd_syscore_switch() call on non-genpd device"

* pm-sleep:
  PM / sleep: constify attribute_group structures

* pm-cpufreq:
  cpufreq: intel_pstate: constify attribute_group structures
  cpufreq: cpufreq_stats: constify attribute_group structures
This commit is contained in:
Rafael J. Wysocki 2017-07-10 22:45:16 +02:00
4 changed files with 6 additions and 5 deletions

View file

@ -135,7 +135,7 @@ static struct attribute *default_attrs[] = {
&trans_table.attr,
NULL
};
static struct attribute_group stats_attr_group = {
static const struct attribute_group stats_attr_group = {
.attrs = default_attrs,
.name = "stats"
};

View file

@ -1214,7 +1214,7 @@ static struct attribute *intel_pstate_attributes[] = {
NULL
};
static struct attribute_group intel_pstate_attr_group = {
static const struct attribute_group intel_pstate_attr_group = {
.attrs = intel_pstate_attributes,
};