From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bes.se.axis.com ([195.60.68.10]:48228 "EHLO bes.se.axis.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751314AbcJHHlu (ORCPT ); Sat, 8 Oct 2016 03:41:50 -0400 Date: Sat, 8 Oct 2016 09:41:48 +0200 From: Jesper Nilsson To: Bjorn Helgaas Cc: Jesper Nilsson , Niklas Cassel , linux-pci@vger.kernel.org, linux-arm-kernel@axis.com Subject: Re: [PATCH 3/8] PCI: artpec6: Pass device-specific struct to internal functions Message-ID: <20161008074148.GS30704@axis.com> References: <20161007163233.24751.17505.stgit@bhelgaas-glaptop2.roam.corp.google.com> <20161007163252.24751.99826.stgit@bhelgaas-glaptop2.roam.corp.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20161007163252.24751.99826.stgit@bhelgaas-glaptop2.roam.corp.google.com> Sender: linux-pci-owner@vger.kernel.org List-ID: On Fri, Oct 07, 2016 at 11:32:52AM -0500, Bjorn Helgaas wrote: > Only interfaces used from outside the driver, e.g., those called by the > DesignWare core, need to accept pointers to the generic struct pcie_port. > Internal interfaces can accept pointers to the device-specific struct, > which makes them more straightforward. No functional change intended. Acked-by: Jesper Nilsson > Signed-off-by: Bjorn Helgaas /^JN - Jesper Nilsson -- Jesper Nilsson -- jesper.nilsson@axis.com