]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PCI: shcphp: remove 'name' parameter
authorAlex Chiang <achiang@hp.com>
Mon, 1 Dec 2008 20:10:20 +0000 (13:10 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 5 Dec 2008 18:55:19 +0000 (10:55 -0800)
commit6e9082ddf690b53217f76bd9d45aaeea49f6c92e
treecbb5de6da37b2ffa5ca844ff73c4ab15813ed30f
parent5574df7080f86c1de03552eeb7ed1bb45cee6f8f
PCI: shcphp: remove 'name' parameter

commit 66f1705580f796a3f52c092e9dc92cbe5df41dd6 upstream.

We do not need to manage our own name parameter, especially since
the PCI core can change it on our behalf, in the case of duplicate
slot names.

Remove 'name' from shpchp's version of struct slot.

This change also removes the unused struct task_event from the
slot structure.

Cc: kristen.c.accardi@intel.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/shpchp.h
drivers/pci/hotplug/shpchp_core.c
drivers/pci/hotplug/shpchp_ctrl.c