mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
pci: struct device - replace bus_id with dev_name(), dev_set_name()
Cc: jbarnes@virtuousgeek.org Cc: linux-pci@vger.kernel.org Acked-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
This commit is contained in:
parent
c36f1e3301
commit
54cc6954a4
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue