diff options
author | Oliver O'Halloran <oohall@gmail.com> | 2020-07-25 10:12:25 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-07-26 15:34:20 +0200 |
commit | 8225d543dc0170e5b61af8559af07ec4f26f0bd6 (patch) | |
tree | 093a7871ffb2657f3de9319912dd85fcb2473bdb /arch/powerpc/kernel/eeh_sysfs.c | |
parent | powerpc/eeh: Pass eeh_dev to eeh_ops->restore_config() (diff) | |
download | linux-8225d543dc0170e5b61af8559af07ec4f26f0bd6.tar.xz linux-8225d543dc0170e5b61af8559af07ec4f26f0bd6.zip |
powerpc/eeh: Pass eeh_dev to eeh_ops->resume_notify()
Mechanical conversion of the eeh_ops interfaces to use eeh_dev to reference
a specific device rather than pci_dn. No functional changes.
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200725081231.39076-8-oohall@gmail.com
Diffstat (limited to 'arch/powerpc/kernel/eeh_sysfs.c')
-rw-r--r-- | arch/powerpc/kernel/eeh_sysfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/eeh_sysfs.c b/arch/powerpc/kernel/eeh_sysfs.c index 4fb0f1e1017a..429620da73ba 100644 --- a/arch/powerpc/kernel/eeh_sysfs.c +++ b/arch/powerpc/kernel/eeh_sysfs.c @@ -99,7 +99,7 @@ static ssize_t eeh_notify_resume_store(struct device *dev, if (!edev || !edev->pe || !eeh_ops->notify_resume) return -ENODEV; - if (eeh_ops->notify_resume(pci_get_pdn(pdev))) + if (eeh_ops->notify_resume(edev)) return -EIO; return count; |