summaryrefslogtreecommitdiff
path: root/drivers/power/sequencing
diff options
context:
space:
mode:
authorChen-Yu Tsai <wenst@chromium.org>2026-05-07 13:29:41 +0800
committerBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>2026-05-11 09:52:56 +0200
commit513f49c33e91e58975ada7967b44512179f0e703 (patch)
treec7384a26c19fc518b60256e01d4e1c6250326739 /drivers/power/sequencing
parent254f49634ee16a731174d2ae34bc50bd5f45e731 (diff)
power: sequencing: print power sequencing device parent in debugfs
The debugfs summary currently shows the power sequencing device's name. This is not really helpful since the device name is always "pwrseq.N". Also print the parent device's name. This would likely be the device node name from the device tree, something like "nvme-connector". This would make it much easier for the developer to associate the summary with a certain device. Signed-off-by: Chen-Yu Tsai <wenst@chromium.org> Link: https://patch.msgid.link/20260507052943.3133349-1-wenst@chromium.org Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Diffstat (limited to 'drivers/power/sequencing')
-rw-r--r--drivers/power/sequencing/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/sequencing/core.c b/drivers/power/sequencing/core.c
index 4dff71be11b6..14335c4f813e 100644
--- a/drivers/power/sequencing/core.c
+++ b/drivers/power/sequencing/core.c
@@ -1043,7 +1043,7 @@ static int pwrseq_debugfs_seq_show(struct seq_file *seq, void *data)
struct pwrseq_target *target;
struct pwrseq_unit *unit;
- seq_printf(seq, "%s:\n", dev_name(dev));
+ seq_printf(seq, "%s (%s):\n", dev_name(dev), dev_name(dev->parent));
seq_puts(seq, " targets:\n");
list_for_each_entry(target, &pwrseq->targets, list)