diff mbox series

PCI: pcie-rcar-host: Drop unused members from struct rcar_pcie_host

Message ID 20201023162008.967-1-prabhakar.mahadev-lad.rj@bp.renesas.com (mailing list archive)
State Accepted
Delegated to: Geert Uytterhoeven
Headers show
Series PCI: pcie-rcar-host: Drop unused members from struct rcar_pcie_host | expand

Commit Message

Lad Prabhakar Oct. 23, 2020, 4:20 p.m. UTC
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(-)

Comments

Yoshihiro Shimoda Oct. 27, 2020, 12:14 p.m. UTC | #1
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
Geert Uytterhoeven Oct. 29, 2020, 1:44 p.m. UTC | #2
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
Lorenzo Pieralisi Nov. 20, 2020, 4:57 p.m. UTC | #3
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
diff mbox series

Patch

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);