PM / Domains: Improve warn for multiple states but no governor
authorAisheng Dong <aisheng.dong@nxp.com>
Wed, 6 Mar 2019 13:25:12 +0000 (13:25 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 11 Mar 2019 10:26:45 +0000 (11:26 +0100)
commit46b7fe94995fd166786a301dbba919046e70e702
tree8c417feec983f0f9a858be3239bb74a12a024e99
parentef8006846a3a97d9d8bf49e63dba948d0d2dbbf0
PM / Domains: Improve warn for multiple states but no governor

It's possible a PM domain defines only one state and it does not need
a governor to work. For such case, a warning actually is not necessary.

Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/domain.c