PCI: SGI Hotplug: stop managing bss_hotplug_slot->name
commit5574df7080f86c1de03552eeb7ed1bb45cee6f8f
authorAlex Chiang <achiang@hp.com>
Mon, 1 Dec 2008 20:10:15 +0000 (1 13:10 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 5 Dec 2008 18:55:19 +0000 (5 10:55 -0800)
tree42fed2b8346c94b7810737c3f7a60a46ee58def6
parent0df3b637d5a8d005e88158fec2ece5438dfecf91
PCI: SGI Hotplug: stop managing bss_hotplug_slot->name

commit 85234ce86dfa62b779faa19a70364a06e3f7fc32 upstream.

We no longer need to manage our version of hotplug_slot->name
since the PCI and hotplug core manage it on our behalf.

Update the sn_hp_slot_private_alloc() interface to fill in
the correct name for us, as that function already has all
the parameters needed to determine the name.

Cc: kristen.c.accardi@intel.com
Cc: jpk@sgi.com
Acked-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/hotplug/sgi_hotplug.c