diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2009-01-25 23:53:56 +0100 |
---|---|---|
committer | Jesse Barnes <jbarnes@hobbes.lan> | 2009-03-19 19:29:24 -0700 |
commit | a447b772826fde2a3abfd9bb943dee8750994c55 (patch) | |
tree | 6d1ed7d0e0d57373a301a71f7426858817ae281d /drivers/pci/hotplug | |
parent | 22106368c999246c414610dcaacd485e741605b1 (diff) | |
download | kernel_samsung_smdk4412-a447b772826fde2a3abfd9bb943dee8750994c55.zip kernel_samsung_smdk4412-a447b772826fde2a3abfd9bb943dee8750994c55.tar.gz kernel_samsung_smdk4412-a447b772826fde2a3abfd9bb943dee8750994c55.tar.bz2 |
PCI: struct device - replace bus_id with dev_name(), dev_set_name()
More dev_set_name conversion.
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/hotplug')
-rw-r--r-- | drivers/pci/hotplug/cpqphp_sysfs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/cpqphp_sysfs.c b/drivers/pci/hotplug/cpqphp_sysfs.c index a13abf5..8450f4a 100644 --- a/drivers/pci/hotplug/cpqphp_sysfs.c +++ b/drivers/pci/hotplug/cpqphp_sysfs.c @@ -225,7 +225,8 @@ void cpqhp_shutdown_debugfs(void) void cpqhp_create_debugfs_files(struct controller *ctrl) { - ctrl->dentry = debugfs_create_file(ctrl->pci_dev->dev.bus_id, S_IRUGO, root, ctrl, &debug_ops); + ctrl->dentry = debugfs_create_file(dev_name(&ctrl->pci_dev->dev), + S_IRUGO, root, ctrl, &debug_ops); } void cpqhp_remove_debugfs_files(struct controller *ctrl) |