pcmcia: remove pccard_sysfs_interface warnings
commit4356d73d028ad0726cfaf31ad30c5d28fcd98795
authorDavid Brownell <dbrownell@users.sourceforge.net>
Mon, 28 Apr 2008 08:03:20 +0000 (28 01:03 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 30 Apr 2008 23:52:48 +0000 (30 16:52 -0700)
tree4ca02a5ac47e6da7857c6a0caf93d06c9916f96c
parent4f452e8aa492c0b8028ca9b4bdb4d018ba28c6c7
pcmcia: remove pccard_sysfs_interface warnings

Make the PCMCIA core stop using class_interface to hide socket attribute
registration.  This removes the associated section mismatch warnings, and
helps get to the point where that mechanism can finally be removed.

Simplify that attribute registration by using an attribute_group.
This is a net shrink in object size.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pcmcia/cs.c
drivers/pcmcia/cs_internal.h
drivers/pcmcia/socket_sysfs.c