mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-22 02:17:36 -04:00
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>
This commit is contained in:
committed by
Bartosz Golaszewski
parent
254f49634e
commit
513f49c33e
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user