Commit 03139e66 authored by Serge Semin's avatar Serge Semin Committed by Bjorn Helgaas

PCI: dwc-plat: Drop unused regmap pointer

1d906b22 ("PCI: dwc: Add support for EP mode") added the struct
dw_plat_pcie regmap pointer, but it has never been used.  Remove it.

[bhelgaas: commit log]
Link: https://lore.kernel.org/r/20220624143428.8334-18-Sergey.Semin@baikalelectronics.ruTested-by: default avatarManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: default avatarSerge Semin <Sergey.Semin@baikalelectronics.ru>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Reviewed-by: default avatarManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
parent 43e6f2d9
...@@ -17,13 +17,11 @@ ...@@ -17,13 +17,11 @@
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/resource.h> #include <linux/resource.h>
#include <linux/types.h> #include <linux/types.h>
#include <linux/regmap.h>
#include "pcie-designware.h" #include "pcie-designware.h"
struct dw_plat_pcie { struct dw_plat_pcie {
struct dw_pcie *pci; struct dw_pcie *pci;
struct regmap *regmap;
enum dw_pcie_device_mode mode; enum dw_pcie_device_mode mode;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment