kobject: clean up rpadlpar horrid sysfs abuse
authorGreg Kroah-Hartman <gregkh@suse.de>
Tue, 6 Nov 2007 23:03:30 +0000 (15:03 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Jan 2008 04:40:24 +0000 (20:40 -0800)
commitf55842f2329f4b3a3a6bb98b005bca3cc851d38a
treef9b003ce66f1e1f48edf226001baac8442b18495
parent2fb9113b974c3c7c43e76647bd5077238e274e1c
kobject: clean up rpadlpar horrid sysfs abuse

rpadlpar pci hotplug driver was doing some pretty bad stuff with the
sysfs files.  This cleans up the logic to be sane and gets rid of the
gratuitous kset that is not needed for a simple directory like this.

Note, this patch is not even build tested, let alone run-time tested.
Someone with access to this hardware and can test would be greatly
appreciated.

Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: John Rose <johnrose@austin.ibm.com>
Cc: Badari Pulavarty <pbadari@gmail.com>
Cc: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/hotplug/rpadlpar_sysfs.c