diff options
author | Serge Semin <Sergey.Semin@baikalelectronics.ru> | 2022-06-24 17:34:27 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2022-07-05 19:00:52 -0500 |
commit | 03139e66a5981b3bddf43206cb7dbdce8115072d (patch) | |
tree | 79541bba69767f77c27c68bb7092675f59e1fb91 | |
parent | 43e6f2d94d91511ce0bdde411ca501cd829eab68 (diff) | |
download | linux-03139e66a5981b3bddf43206cb7dbdce8115072d.tar.gz linux-03139e66a5981b3bddf43206cb7dbdce8115072d.tar.bz2 linux-03139e66a5981b3bddf43206cb7dbdce8115072d.zip |
PCI: dwc-plat: Drop unused regmap pointer
1d906b22076e ("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.ru
Tested-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
-rw-r--r-- | drivers/pci/controller/dwc/pcie-designware-plat.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/pci/controller/dwc/pcie-designware-plat.c b/drivers/pci/controller/dwc/pcie-designware-plat.c index c6871bebf3fe..59bd85d4190b 100644 --- a/drivers/pci/controller/dwc/pcie-designware-plat.c +++ b/drivers/pci/controller/dwc/pcie-designware-plat.c @@ -17,13 +17,11 @@ #include <linux/platform_device.h> #include <linux/resource.h> #include <linux/types.h> -#include <linux/regmap.h> #include "pcie-designware.h" struct dw_plat_pcie { struct dw_pcie *pci; - struct regmap *regmap; enum dw_pcie_device_mode mode; }; |