PM: domains: Rename irq_safe_dev_in_no_sleep_domain() in genpd
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 11 May 2022 14:56:54 +0000 (16:56 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 19 May 2022 18:16:05 +0000 (20:16 +0200)
commit7a02444b8fc25ac16f90c1e498aeb672651d6f4b
tree2dc56366ade671914e2e75474d60885271b7f9ca
parent3f9ee7da724a57d808b52e6e9f53517ef3b00db6
PM: domains: Rename irq_safe_dev_in_no_sleep_domain() in genpd

The name "irq_safe_dev_in_no_sleep_domain", doesn't really match the
conditions that are being checked in the function, hence the code becomes a
bit confusing to read.

Let's clarify this by renaming it into "irq_safe_dev_in_sleep_domain" and
let's also take the opportunity to clarify a corresponding comment in the
code.

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