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

2013-01-24 Thread Mark Brown
On Thu, Jan 24, 2013 at 09:11:34AM +, Lee Jones wrote: > So the premise of the patch is good and is worth updating and upstreaming? Yes. signature.asc Description: Digital signature

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

2013-01-24 Thread Lee Jones
On Wed, 23 Jan 2013, Mark Brown wrote: > On Wed, Jan 23, 2013 at 08:19:27AM +, Lee Jones wrote: > > On Wed, 23 Jan 2013, Mark Brown wrote: > > > > We call our reference counts use count but this was in fact the original > > > design, the local reference counts got dropped due to David Brownel

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

2013-01-23 Thread Mark Brown
On Wed, Jan 23, 2013 at 08:19:27AM +, Lee Jones wrote: > On Wed, 23 Jan 2013, Mark Brown wrote: > > 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

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

2013-01-23 Thread Lee Jones
On Wed, 23 Jan 2013, Mark Brown wrote: > On Tue, Jan 22, 2013 at 09:46:24AM +, 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

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

2013-01-22 Thread Mark Brown
On Tue, Jan 22, 2013 at 09:46:24AM +, 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 des

[RFC] regulator: Display in use regulators in sysfs

2013-01-22 Thread Lee Jones
Please excuse any poor formatting that may occur, as this is copy-paste into my mailer, but what do you think of this idea? 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. --- drivers/regu