diff options
| author | Abhijeet Dharmapurikar <adharmap@codeaurora.org> | 2016-10-25 18:37:54 -0700 |
|---|---|---|
| committer | Abhijeet Dharmapurikar <adharmap@codeaurora.org> | 2016-10-27 15:16:45 -0700 |
| commit | ca3b5f6d7e87b6823062a44525265b1c4990ed1d (patch) | |
| tree | 56c70a28fd68acccf0185801dde49aa1f4b70a3b | |
| parent | 46aa49c1188a77f52dc4969f82292c176d8f399b (diff) | |
pmic-voter: Add the votable name in debugfs
Add the votable name in the first line of the debug output. This helps
in understanding which voter the output is for.
Change-Id: I7c3d321f9f062037d85efba437a3fc1012b64d4b
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
| -rw-r--r-- | drivers/power/qcom-charger/pmic-voter.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/qcom-charger/pmic-voter.c b/drivers/power/qcom-charger/pmic-voter.c index d0bad7dec094..8072b63f53fe 100644 --- a/drivers/power/qcom-charger/pmic-voter.c +++ b/drivers/power/qcom-charger/pmic-voter.c @@ -421,6 +421,7 @@ static int show_votable_clients(struct seq_file *m, void *data) lock_votable(votable); + seq_printf(m, "%s:\n", votable->name); seq_puts(m, "Clients:\n"); for (i = 0; i < votable->num_clients; i++) { if (votable->client_strs[i]) { |
