PM / Domains: Join state name and index in debugfs output
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 23 Feb 2016 16:49:18 +0000 (17:49 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 8 Mar 2016 23:36:03 +0000 (00:36 +0100)
commit0ba554e45c674181a3e5c42c7a6cccbbc75a0dd7
treebe2ed12672d1b2ca7014add8e3ab00b187f08943
parent6954d43292674aaacc9b1cdbc28b1b2ea0cc6445
PM / Domains: Join state name and index in debugfs output

For low-power states, the state index is part of the state, hence join
them with a hyphen in the /sys/kernel/debug/pm_genpd/pm_genpd_summary
output. E.g. "off 0" becomes "off-0".

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Tested-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/domain.c