Thread (95 messages) 95 messages, 14 authors, 2013-08-20

Re: [PATCH 01/15] drivers: phy: add generic PHY framework

From: Greg KH <gregkh@linuxfoundation.org>
Date: 2013-07-23 21:23:38
Also in: linux-arm-kernel, linux-media, linux-omap, linux-samsung-soc, lkml

On Tue, Jul 23, 2013 at 11:05:48PM +0200, Tomasz Figa wrote:
quoted
That's not so bad, as long as you let the phy core use whatever name it
wants for the device when it registers it with sysfs.
Yes, in regulator core consumer names are completely separated from this. 
Regulator core simply assigns a sequential integer ID to each regulator 
and registers /sys/class/regulator/regulator.ID for each regulator.
Yes, that's fine.
quoted
Use the name you
are requesting as a "tag" or some such "hint" as to what the phy can be
looked up by.

Good luck handling duplicate "tags" :)
The tag alone is not a key. Lookup key consists of two components, 
consumer device name and consumer tag. What kind of duplicate tags can be 
a problem here?
Ok, I didn't realize it looked at both parts, that makes sense, thanks.

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help