mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 00:21:59 +00:00
powerpc/eeh: Fix misleading comment in __eeh_addr_cache_get_device()
Commit "0ba178888b05 powerpc/eeh: Remove reference to PCI device" removed a call to pci_dev_get() from __eeh_addr_cache_get_device() but did not update the comment to match. Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com> Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
parent
37fd812587
commit
63457b144b
@ -84,8 +84,7 @@ static inline struct eeh_dev *__eeh_addr_cache_get_device(unsigned long addr)
|
|||||||
* @addr: mmio (PIO) phys address or i/o port number
|
* @addr: mmio (PIO) phys address or i/o port number
|
||||||
*
|
*
|
||||||
* Given an mmio phys address, or a port number, find a pci device
|
* Given an mmio phys address, or a port number, find a pci device
|
||||||
* that implements this address. Be sure to pci_dev_put the device
|
* that implements this address. I/O port numbers are assumed to be offset
|
||||||
* when finished. I/O port numbers are assumed to be offset
|
|
||||||
* from zero (that is, they do *not* have pci_io_addr added in).
|
* from zero (that is, they do *not* have pci_io_addr added in).
|
||||||
* It is safe to call this function within an interrupt.
|
* It is safe to call this function within an interrupt.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user