[PATCH] create modalias file in sysfs for bus vio

Stephen Rothwell sfr at canb.auug.org.au
Mon Feb 4 17:39:52 EST 2008


Hi Olaf,

[Sorry, been on vacation]

On Fri, 25 Jan 2008 18:09:14 +0100 Olaf Hering <olaf at aepfle.de> wrote:
>
> On Wed, Jan 23, Stephen Rothwell wrote:
> 
> > It would be nice if we could factor out the "vio:T%sS%s" string as it is
> > also used in vio_hotplug().
> 
> What exactly do you have in mind?
> Creating a tempstring seems to make things more complicated.

Yeah, but it would be nice if the format only had to be known/changed in
one place.  Don't worry about it for now. Or maybe create a "static const
char []" or #define with the string.

-- 
Cheers,
Stephen Rothwell                    sfr at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20080204/fe86d88c/attachment.pgp>


More information about the Linuxppc-dev mailing list