]> git.baikalelectronics.ru Git - kernel.git/commit
pcmcia: remove pccard_sysfs_interface warnings
authorDavid Brownell <dbrownell@users.sourceforge.net>
Mon, 28 Apr 2008 08:03:20 +0000 (01:03 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 30 Apr 2008 23:52:48 +0000 (16:52 -0700)
commit4ef83be549fac108a310a5bd29cf5f0393548b35
tree4ca02a5ac47e6da7857c6a0caf93d06c9916f96c
parent5696f20a56ba34854de44369b313a4a5e8aff729
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