linux/drivers/base/regmap
Fabio Estevam a430ab205d
regmap: debugfs: Disambiguate dummy debugfs file name
Since commit 9b947a13e7 ("regmap: use debugfs even when no device")
allows the usage of regmap debugfs even when there is no device
associated, which causes several warnings like this:

(NULL device *): Failed to create debugfs directory

This happens when the debugfs file name is 'dummy'.

The first dummy debugfs creation works fine, but subsequent creations
fail as they have all the same name.

Disambiguate the 'dummy' debugfs file name by adding a suffix entry,
so that the names become dummy0, dummy1, dummy2, etc.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2018-03-05 19:23:26 +00:00
..
internal.h regmap: Disable debugfs when locking is disabled 2017-12-13 16:22:31 +00:00
Kconfig Char/Misc driver patches for 4.16-rc1 2018-02-01 10:31:17 -08:00
Makefile Char/Misc driver patches for 4.16-rc1 2018-02-01 10:31:17 -08:00
regcache-flat.c regcache: flat: Un-inline index lookup from cache access 2018-01-08 12:08:57 +00:00
regcache-lzo.c regmap: cache: Remove unused 'blksize' variable 2016-11-25 13:01:36 +00:00
regcache-rbtree.c regmap: use rb_entry() 2016-12-19 15:42:26 +00:00
regcache.c regmap: Fix typo in IS_ENABLED() check 2017-06-08 15:43:19 +01:00
regmap-ac97.c regmap: Move documentation to regmap.h 2015-08-11 17:21:44 +01:00
regmap-debugfs.c regmap: debugfs: Disambiguate dummy debugfs file name 2018-03-05 19:23:26 +00:00
regmap-i2c.c regmap-i2c: Use i2c block command only if register value width is 8 bit 2016-06-22 13:50:51 +01:00
regmap-irq.c regmap: irq: add chip option mask_writeonly 2017-06-28 20:11:07 +01:00
regmap-mmio.c Merge remote-tracking branches 'regmap/fix/be', 'regmap/fix/doc' and 'regmap/fix/spmi' into regmap-linus 2016-05-13 10:36:10 +01:00
regmap-sdw.c regmap: Add SoundWire bus support 2018-01-08 11:27:18 +00:00
regmap-slimbus.c regmap: add SLIMbus support 2017-12-19 11:01:03 +01:00
regmap-spi.c regmap: constify regmap_bus structures 2017-08-14 17:36:29 +01:00
regmap-spmi.c regmap: constify regmap_bus structures 2017-08-14 17:36:29 +01:00
regmap-w1.c regmap: regmap-w1: Fix build troubles 2017-07-17 15:53:00 +01:00
regmap.c regmap: use debugfs even when no device 2018-02-20 12:07:59 +00:00
trace.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00