]> err.no Git - linux-2.6/commit
pcmcia: simplify rsrc_nonstatic attributes
authorDavid Brownell <dbrownell@users.sourceforge.net>
Thu, 12 Jun 2008 19:13:55 +0000 (12:13 -0700)
committerDominik Brodowski <linux@dominikbrodowski.net>
Tue, 24 Jun 2008 13:33:40 +0000 (15:33 +0200)
commit7d5789616dd3090fe8486fbb849da3e9d9f36bb9
treebf78d2c5670facb0413a4126b1684eab7e865fb9
parent785e821eb679c171f453722f15c6791de0c1abe1
pcmcia: simplify rsrc_nonstatic attributes

Simplify sysfs attribute registration for sockets without static
resource mappings by using an attribute_group.  This shrinks object
size a bit:  use loops in sysfs code, but have more data.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
drivers/pcmcia/rsrc_nonstatic.c