regulator: use consumer->supply_name in debugfs/regulator_summary
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Sat, 4 Apr 2020 00:11:57 +0000 (02:11 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 14 Apr 2020 15:57:42 +0000 (16:57 +0100)
commit6b576eb035dba77daf091f045fa1448682ee12b4
tree84a70b3d700072d42e197caeb99800716a3c546b
parentd2c2c218ea3f46cabd0955307d246e18371565dd
regulator: use consumer->supply_name in debugfs/regulator_summary

Make it easier to identify regulator consumers when consumer device
uses more than one supply.

Before:

  regulator                      ena use open bypass voltage current min     max
 -----------------------------------------------------------------------------------
  regulator-dummy                  1   0    2      0     0mV     0mA 0mV     0mV
     1-0010                                                          0mV     0mV
     1-0010                                                          0mV     0mV

After:

  regulator                      ena use open bypass voltage current min     max
 -----------------------------------------------------------------------------------
  regulator-dummy                  1   0    2      0     0mV     0mA 0mV     0mV
     1-0010-vccio                                                    0mV     0mV
     1-0010-vcc33                                                    0mV     0mV

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Link: https://lore.kernel.org/r/731a4b299c6ae0ee9d8995157600a3477f21a36c.1585959068.git.mirq-linux@rere.qmqm.pl
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/core.c