]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
PCI: rpaphp: kmalloc/kfree slot->name directly
authorAlex Chiang <achiang@hp.com>
Mon, 1 Dec 2008 20:10:10 +0000 (13:10 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 5 Dec 2008 18:55:19 +0000 (10:55 -0800)
commit0df3b637d5a8d005e88158fec2ece5438dfecf91
treef40ed1d732c40015c1517cfac099b962fdce9663
parent317b4255edcbd21fa1c058016775ecb82bf6ad37
PCI: rpaphp: kmalloc/kfree slot->name directly

commit b2132fecca02fa05d509ba4c8c1e51dee6ccd003 upstream.

rpaphp tends to use slot->name directly everywhere, and doesn't
ever need slot->hotplug_slot->name.

struct hotplug_slot->name is going away, so convert rpaphp directly
manipulate its own slot->name everywhere, and don't bother touching
slot->hotplug_slot->name.

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/rpaphp_slot.c