Re: [PATCH 1/2] PM / Domains: Restore alignment of slaves in debugfs output
From: Kevin Hilman <khilman@baylibre.com>
Date: 2016-03-01 18:54:50
From: Kevin Hilman <khilman@baylibre.com>
Date: 2016-03-01 18:54:50
Geert Uytterhoeven [off-list ref] writes:
The slave domains are no longer aligned with the table header in the
/sys/kernel/debug/pm_genpd/pm_genpd_summary output. Worse, the alignment
differs depending on the actual name of the state.
Format the state name and index into a buffer, and print that like
before to restore alignment.
Use "%u" for unsigned int while we're at it.
Fixes: fc5cbf0c94b6f7fd ("PM / Domains: Support for multiple states")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>Tested-by: Kevin Hilman <khilman@baylibre.com>