From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtprelay.synopsys.com (smtprelay2.synopsys.com [198.182.60.111]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3v0TnZ2TBwzDqy3 for ; Sat, 14 Jan 2017 04:16:49 +1100 (AEDT) Subject: Re: [PATCH 05/37] PCI: dwc: Add platform_set_drvdata To: Kishon Vijay Abraham I , Bjorn Helgaas , Jingoo Han , Joao Pinto , Arnd Bergmann References: <1484216786-17292-1-git-send-email-kishon@ti.com> <1484216786-17292-6-git-send-email-kishon@ti.com> CC: , , , , , , , , , , , Richard Zhu , Lucas Stach , Murali Karicheri , "Minghuan Lian" , Mingkai Hu , Roy Zang , Thomas Petazzoni , Niklas Cassel , Jesper Nilsson , Zhou Wang , Gabriele Paoloni , Stanimir Varbanov , Pratyush Anand From: Joao Pinto Message-ID: Date: Fri, 13 Jan 2017 17:16:15 +0000 MIME-Version: 1.0 In-Reply-To: <1484216786-17292-6-git-send-email-kishon@ti.com> Content-Type: text/plain; charset="windows-1252" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi, Ās 10:25 AM de 1/12/2017, Kishon Vijay Abraham I escreveu: > Add platform_set_drvdata in all designware based drivers to store the > private data structure of the driver so that dev_set_drvdata can be > used to get back private data pointer in add_pcie_port/host_init. > This is in preparation for splitting struct pcie_port into core and > host only structures. After the split pcie_port will not be part of > the driver's private data structure and *container_of* used now > to get the private data pointer cannot be used. > > Cc: Jingoo Han > Cc: Richard Zhu > Cc: Lucas Stach > Cc: Murali Karicheri > Cc: Minghuan Lian > Cc: Mingkai Hu > Cc: Roy Zang > Cc: Thomas Petazzoni > Cc: Niklas Cassel > Cc: Jesper Nilsson > Cc: Joao Pinto > Cc: Zhou Wang > Cc: Gabriele Paoloni > Cc: Stanimir Varbanov > Cc: Pratyush Anand > Signed-off-by: Kishon Vijay Abraham I > --- > drivers/pci/dwc/pci-dra7xx.c | 3 ++- > drivers/pci/dwc/pci-exynos.c | 3 ++- > drivers/pci/dwc/pci-imx6.c | 3 ++- > drivers/pci/dwc/pci-keystone.c | 2 ++ > drivers/pci/dwc/pci-layerscape.c | 2 ++ > drivers/pci/dwc/pcie-armada8k.c | 2 ++ > drivers/pci/dwc/pcie-artpec6.c | 2 ++ > drivers/pci/dwc/pcie-designware-plat.c | 2 ++ > drivers/pci/dwc/pcie-hisi.c | 2 ++ > drivers/pci/dwc/pcie-qcom.c | 2 ++ > drivers/pci/dwc/pcie-spear13xx.c | 3 ++- > 11 files changed, 22 insertions(+), 4 deletions(-) > This is an example of a change that could be merged with another patch that gives it more meaning, like I wrote in the review of patch 9/37. Thanks, Joao