]> www.infradead.org Git - users/willy/xarray.git/commit
pmdomain: core: Fix "managed by" alignment in debug summary
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 4 Sep 2024 14:30:46 +0000 (16:30 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 13 Sep 2024 11:38:41 +0000 (13:38 +0200)
commit987a43e89ec67cc68518c0558db42ba542581597
tree73b4a937b23e809c50639f4a82b5bfa1fdf7858d
parent692c20c4d075bd452acfbbc68200fc226c7c9496
pmdomain: core: Fix "managed by" alignment in debug summary

The "performance" column contains variable-width values.  Hence when
their printed values contain more than one digit, all values in
successive columns become misaligned.

Fix this by formatting it as a fixed-width field.  Adjust successive
spaces and field widths to retain the exiting layout.

Fixes: 0155aaf95a2a ("PM: domains: Add the domain HW-managed mode to the summary")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/e004f9d2a75e9a49c269507bb8a4514001751e85.1725459707.git.geert+renesas@glider.be
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/pmdomain/core.c