Linux-PCI Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] PCI: pcie-rcar-host: Drop unused members from struct rcar_pcie_host
@ 2020-10-23 16:20 Lad Prabhakar
  2020-10-27 12:14 ` Yoshihiro Shimoda
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Lad Prabhakar @ 2020-10-23 16:20 UTC (permalink / raw)
  To: Marek Vasut, Yoshihiro Shimoda, Lorenzo Pieralisi, Rob Herring,
	Bjorn Helgaas, linux-pci, linux-renesas-soc
  Cc: linux-kernel, Lad Prabhakar, Prabhakar

Drop unused members dev and base from struct rcar_pcie_host.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
---
 drivers/pci/controller/pcie-rcar-host.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/pci/controller/pcie-rcar-host.c b/drivers/pci/controller/pcie-rcar-host.c
index cdc0963f154e..4d1c4b24e537 100644
--- a/drivers/pci/controller/pcie-rcar-host.c
+++ b/drivers/pci/controller/pcie-rcar-host.c
@@ -50,9 +50,7 @@ static inline struct rcar_msi *to_rcar_msi(struct msi_controller *chip)
 /* Structure representing the PCIe interface */
 struct rcar_pcie_host {
 	struct rcar_pcie	pcie;
-	struct device		*dev;
 	struct phy		*phy;
-	void __iomem		*base;
 	struct clk		*bus_clk;
 	struct			rcar_msi msi;
 	int			(*phy_init_fn)(struct rcar_pcie_host *host);
-- 
2.17.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [PATCH] PCI: pcie-rcar-host: Drop unused members from struct rcar_pcie_host
  2020-10-23 16:20 [PATCH] PCI: pcie-rcar-host: Drop unused members from struct rcar_pcie_host Lad Prabhakar
@ 2020-10-27 12:14 ` Yoshihiro Shimoda
  2020-10-29 13:44 ` Geert Uytterhoeven
  2020-11-20 16:57 ` Lorenzo Pieralisi
  2 siblings, 0 replies; 4+ messages in thread
From: Yoshihiro Shimoda @ 2020-10-27 12:14 UTC (permalink / raw)
  To: Prabhakar Mahadev Lad, Marek Vasut, Lorenzo Pieralisi,
	Rob Herring, Bjorn Helgaas, linux-pci, linux-renesas-soc
  Cc: linux-kernel, Prabhakar Mahadev Lad, Prabhakar

Hi Lad,

> From: Lad Prabhakar, Sent: Saturday, October 24, 2020 1:20 AM
> 
> Drop unused members dev and base from struct rcar_pcie_host.
> 
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>

Thank you for the patch!

Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>

Best regards,
Yoshihiro Shimoda

> ---
>  drivers/pci/controller/pcie-rcar-host.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/pci/controller/pcie-rcar-host.c b/drivers/pci/controller/pcie-rcar-host.c
> index cdc0963f154e..4d1c4b24e537 100644
> --- a/drivers/pci/controller/pcie-rcar-host.c
> +++ b/drivers/pci/controller/pcie-rcar-host.c
> @@ -50,9 +50,7 @@ static inline struct rcar_msi *to_rcar_msi(struct msi_controller *chip)
>  /* Structure representing the PCIe interface */
>  struct rcar_pcie_host {
>  	struct rcar_pcie	pcie;
> -	struct device		*dev;
>  	struct phy		*phy;
> -	void __iomem		*base;
>  	struct clk		*bus_clk;
>  	struct			rcar_msi msi;
>  	int			(*phy_init_fn)(struct rcar_pcie_host *host);
> --
> 2.17.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] PCI: pcie-rcar-host: Drop unused members from struct rcar_pcie_host
  2020-10-23 16:20 [PATCH] PCI: pcie-rcar-host: Drop unused members from struct rcar_pcie_host Lad Prabhakar
  2020-10-27 12:14 ` Yoshihiro Shimoda
@ 2020-10-29 13:44 ` Geert Uytterhoeven
  2020-11-20 16:57 ` Lorenzo Pieralisi
  2 siblings, 0 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2020-10-29 13:44 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: Marek Vasut, Yoshihiro Shimoda, Lorenzo Pieralisi, Rob Herring,
	Bjorn Helgaas, linux-pci, Linux-Renesas,
	Linux Kernel Mailing List, Prabhakar

On Fri, Oct 23, 2020 at 6:36 PM Lad Prabhakar
<prabhakar.mahadev-lad.rj@bp.renesas.com> wrote:
> Drop unused members dev and base from struct rcar_pcie_host.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] PCI: pcie-rcar-host: Drop unused members from struct rcar_pcie_host
  2020-10-23 16:20 [PATCH] PCI: pcie-rcar-host: Drop unused members from struct rcar_pcie_host Lad Prabhakar
  2020-10-27 12:14 ` Yoshihiro Shimoda
  2020-10-29 13:44 ` Geert Uytterhoeven
@ 2020-11-20 16:57 ` Lorenzo Pieralisi
  2 siblings, 0 replies; 4+ messages in thread
From: Lorenzo Pieralisi @ 2020-11-20 16:57 UTC (permalink / raw)
  To: Rob Herring, Bjorn Helgaas, linux-renesas-soc, linux-pci,
	Marek Vasut, Yoshihiro Shimoda, Lad Prabhakar
  Cc: Lorenzo Pieralisi, Prabhakar, linux-kernel

On Fri, 23 Oct 2020 17:20:08 +0100, Lad Prabhakar wrote:
> Drop unused members dev and base from struct rcar_pcie_host.

Applied to pci/rcar, thanks!

[1/1] PCI: rcar: Drop unused members from struct rcar_pcie_host
      https://git.kernel.org/lpieralisi/pci/c/6e8e137abe

Thanks,
Lorenzo

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, back to index

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-23 16:20 [PATCH] PCI: pcie-rcar-host: Drop unused members from struct rcar_pcie_host Lad Prabhakar
2020-10-27 12:14 ` Yoshihiro Shimoda
2020-10-29 13:44 ` Geert Uytterhoeven
2020-11-20 16:57 ` Lorenzo Pieralisi

Linux-PCI Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-pci/0 linux-pci/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-pci linux-pci/ https://lore.kernel.org/linux-pci \
		linux-pci@vger.kernel.org
	public-inbox-index linux-pci

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-pci


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git