1. 02 Sep, 2019 1 commit
    • Ulf Hansson's avatar
      PM / Domains: Simplify genpd_lookup_dev() · b3ad17c0
      Ulf Hansson authored
      genpd_lookup_dev(), is a bit unnecessary heavy, as it walks the gpd_list to
      try to find a valid PM domain corresponding to the device's attached genpd.
      
      Instead of walking the gpd_list, let's use the fact that a genpd always has
      the ->runtime_suspend() callback assigned to the genpd_runtime_suspend()
      function.
      
      While changing this, let's take the opportunity to also rename
      genpd_lookup_dev(), into dev_to_genpd_safe() to better reflect its purpose.
      Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      b3ad17c0
  2. 05 Aug, 2019 2 commits
  3. 04 Aug, 2019 10 commits
  4. 03 Aug, 2019 27 commits