Merge branch 'opp/genpd-pstate-updates' of git://git.kernel.org/pub/scm/linux/kernel...
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 14 May 2018 21:12:48 +0000 (23:12 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 14 May 2018 21:12:48 +0000 (23:12 +0200)
Pull Operating Performance Points (OPP) library changes for v4.18
from Viresh Kumar.

* 'opp/genpd-pstate-updates' of git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm:
  PM / OPP: Remove dev_pm_opp_{un}register_get_pstate_helper()
  PM / OPP: Get performance state using genpd helper
  PM / Domain: Implement of_genpd_opp_to_performance_state()
  PM / Domain: Add support to parse domain's OPP table
  PM / Domain: Add struct device to genpd
  PM / OPP: Implement dev_pm_opp_get_of_node()
  PM / OPP: Implement of_dev_pm_opp_find_required_opp()
  PM / OPP: Implement dev_pm_opp_of_add_table_indexed()
  PM / OPP: "opp-hz" is optional for power domains
  PM / OPP: dt-bindings: Make "opp-hz" optional for power domains
  PM / OPP: dt-bindings: Rename "required-opp" as "required-opps"
  soc/tegra: pmc: Don't allocate struct tegra_powergate on stack

1  2 
drivers/base/power/domain.c
include/linux/pm_domain.h

Simple merge
index ab1854863a8c06632a7db7fd46f40763418b61a3,a2fa297e96f733653b9a20511602c643823fd5e0..4e5764083fd833d6c3d534fdec609554644237d0
@@@ -278,9 -284,16 +284,16 @@@ static inline int of_genpd_parse_idle_s
        return -ENODEV;
  }
  
+ static inline unsigned int
+ of_genpd_opp_to_performance_state(struct device *dev,
+                                 struct device_node *opp_node)
+ {
+       return -ENODEV;
+ }
  static inline int genpd_dev_pm_attach(struct device *dev)
  {
 -      return -ENODEV;
 +      return 0;
  }
  
  static inline