Re: [PATCH 12/19] twl4030: mfd_cell is now implicitly available to drivers

From
Mark Brown <hidden>
Date
2011-02-03 09:31:38
Also in
alsa-devel, lkml
Reply to
Andres Salomon, 2011-02-03
On Wed, Feb 02, 2011 at 11:03:26PM -0800, Andres Salomon wrote:
Dmitry Torokhov [off-list ref] wrote:
quoted
Then they are doing it incorrectly. One possible way is to have parent
device carry relevant data in its drvdata and have children get it
from there.
I believe some drivers are even using the parent device already.  See
drivers/leds/leds-mc13783.c, for example, whose parent device drvdata
is used to pass around a struct mc13783 to its children.  Sounds
like a possibility, will need to look into it further.
That's the current best practice approach.
Thread (10 messages) 10 messages, 5 authors, last reply 2011-02-05
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help