PCI, PCI Hotplug: introduce slot_name helpers
authorAlex Chiang <achiang@hp.com>
Mon, 20 Oct 2008 23:41:07 +0000 (17:41 -0600)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 22 Oct 2008 23:42:40 +0000 (16:42 -0700)
commit0ad772ec464d3fcf9d210836b97e654f393606c4
treeb2eb3d995eacec2e49dec4441fbc5349c8d1fc81
parent30ac7acd05d1449ac784de144c4b5237be25b0b4
PCI, PCI Hotplug: introduce slot_name helpers

In preparation for cleaning up the various hotplug drivers
such that they don't have to manage their own 'name' parameters
anymore, we provide the following convenience functions:

pci_slot_name()
hotplug_slot_name()

These helpers will be used by individual hotplug drivers.

Cc: kristen.c.accardi@intel.com
Cc: matthew@wil.cx
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>
drivers/pci/slot.c
include/linux/pci.h
include/linux/pci_hotplug.h