OSDN Git Service

PM: domains: Fix build error for genpd notifiers
authorUlf Hansson <ulf.hansson@linaro.org>
Tue, 20 Oct 2020 08:10:35 +0000 (10:10 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 20 Oct 2020 17:40:54 +0000 (19:40 +0200)
commit330e3932a4811e1628d962e47e6892e1e20eb9a7
treef59d9c42fe8c95ba81cb9cb7b55f8839a575d83d
parentc6a113b52302adcfadda63af81dc05f7a669fbc8
PM: domains: Fix build error for genpd notifiers

The __raw_notifier_call_chain() was recently removed and replaced with
raw_notifier_call_chain_robust(). Recent changes to genpd didn't take that
into account, which causes a build error. Let's fix this by converting to
the raw_notifier_call_chain_robust() in genpd.

Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Lina Iyer <ilina@codeaurora.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/domain.c