commit | 902bdc57451c2c64aa139bbe24067f70a186db0a | [log] [tgz] |
---|---|---|
author | Alexey Kardashevskiy <aik@ozlabs.ru> | Mon Oct 23 19:07:02 2017 +1100 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Sat Jan 27 20:39:01 2018 +1100 |
tree | ed99d5543498265de270ad04d1fe2ca2dca75561 | |
parent | 5c8136fa1af7c0e9b4aec89cf2832f6e5197ce32 [diff] |
powerpc/powernv/idoa: Remove unnecessary pcidev from pci_dn The pcidev value stored in pci_dn is only used for NPU/NPU2 initialization. We can easily drop the cached pointer and use an ancient helper - pci_get_domain_bus_and_slot() instead in order to reduce complexity. Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Acked-by: Russell Currey <ruscur@russell.cc> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>