Skip to content

Commit

Permalink
pci: struct device - replace bus_id with dev_name(), dev_set_name()
Browse files Browse the repository at this point in the history
Cc: [email protected]
Cc: [email protected]
Acked-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Kay Sievers <[email protected]>
  • Loading branch information
kaysievers authored and gregkh committed Mar 24, 2009
1 parent c36f1e3 commit 54cc695
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/pci/hotplug/cpqphp_sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 54cc695

Please sign in to comment.