PM / Domains: Always enable debugfs support if available
authorJon Hunter <jonathanh@nvidia.com>
Thu, 11 Aug 2016 10:40:05 +0000 (11:40 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 12 Aug 2016 00:27:53 +0000 (02:27 +0200)
commit8b0510b52478a4ede8a7537da7faa66242bd0ae4
tree5a835528cdc85ee6b0c1d0b62df6bd3ae0a5af8a
parent29b4817d4018df78086157ea3a55c1d9424a7cfc
PM / Domains: Always enable debugfs support if available

Debugfs support for PM domains is only enabled if both CONFIG_PM_DEBUG
and CONFIG_PM_ADVANCED_DEBUG are enabled. CONFIG_PM_ADVANCED_DEBUG is
described as "extra PM attributes in sysfs for low-level
debugging/testing" which does not seem related.

Given that the debugfs for PM domains only allows users to view the
state of the PM domains, always enable debugfs support for PM domains
if PM domains and debugfs support is enabled.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/domain.c