Re: [PATCH v3 01/10] Driver core and sysfs changes for attributegroups
From: Stephen Rothwell
Date: Sun Jul 14 2013 - 20:27:38 EST
Hi Greg,
On Sun, 14 Jul 2013 16:05:50 -0700 Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
>
> Anyone else have a better name for this macro:
> #define DEVICE_PATTR(_name) &dev_attr_##_name.attr
> that they can think of? It will cut down on the typing done for
> attribute lists.
Just one small peeve I have about all these places we do symbol pasting,
is that it makes it impossible to find some things because grep complete
fails us. We type them once (often by cutting and pasting), but try to
find them who knows how many times?
Just saying ...
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
Attachment:
pgp00000.pgp
Description: PGP signature