Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Kay Sievers and committed by
Jesse Barnes
a447b772 22106368

+2 -1
+2 -1
drivers/pci/hotplug/cpqphp_sysfs.c
··· 225 225 226 226 void cpqhp_create_debugfs_files(struct controller *ctrl) 227 227 { 228 - ctrl->dentry = debugfs_create_file(ctrl->pci_dev->dev.bus_id, S_IRUGO, root, ctrl, &debug_ops); 228 + ctrl->dentry = debugfs_create_file(dev_name(&ctrl->pci_dev->dev), 229 + S_IRUGO, root, ctrl, &debug_ops); 229 230 } 230 231 231 232 void cpqhp_remove_debugfs_files(struct controller *ctrl)