Re: [RFC] regulator: Display in use regulators in sysfs

From: Lee Jones
Date: Wed Jan 23 2013 - 03:19:31 EST


On Wed, 23 Jan 2013, Mark Brown wrote:

> On Tue, Jan 22, 2013 at 09:46:24AM +0000, Lee Jones wrote:
>
> > To locate a consumer that currently holds a regulattor, a new sysfs
> > entry is created. The consumer are published in
> > /sys/class/regulator/regulator.<#>/use.
>
> We call our reference counts use count but this was in fact the original
> design, the local reference counts got dropped due to David Brownell's
> forceful insistance :/

So I should pull the patch?

How do you feel about being able to access it via sysfs? Good or bad
idea? If it's a good idea, I can always change the name of the
variable?

--
Lee Jones
Linaro ST-Ericsson Landing Team Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/