From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3zVGNB6FHpzDqlb for ; Mon, 29 Jan 2018 15:13:46 +1100 (AEDT) In-Reply-To: <20171023080702.23479-1-aik@ozlabs.ru> To: Alexey Kardashevskiy , linuxppc-dev@lists.ozlabs.org From: Michael Ellerman Cc: Alexey Kardashevskiy Subject: Re: [kernel] powerpc/powernv/idoa: Remove unnecessary pcidev from pci_dn Message-Id: <3zVGNB1b68z9sDB@ozlabs.org> Date: Mon, 29 Jan 2018 15:13:46 +1100 (AEDT) List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, 2017-10-23 at 08:07:02 UTC, Alexey Kardashevskiy wrote: > 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 > Acked-by: Russell Currey Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/902bdc57451c2c64aa139bbe24067f cheers