Re: [PATCH] regmap: debugfs: Do not print warning when no device is associated

From: Fabio Estevam
Date: Mon Mar 05 2018 - 13:30:06 EST


Hi Mark,

On Mon, Mar 5, 2018 at 1:17 PM, Mark Brown <broonie@xxxxxxxxxx> wrote:

> This then means that we will just randomly not create a debugfs for
> anything except the first device that tries to do so with no device
> which doesn't seem right. We should try harder to create a name here,
> for example we could try printing the pointer to the map. Or keep a
> counter and use dummy0 and so on.

Tried your second suggestion of creating dummy0, dummy1, dummy2, etc
and it worked here.

Will send a v2 shortly.

Thanks