[PATCH 2/9] PCI: dra7xx: Name private struct pointer "dra7xx" consistently

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Use a device-specific name, "dra7xx", for struct dra7xx_pcie pointers
to hint that this is device-specific information.  No functional change
intended.

Signed-off-by: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>
---
 drivers/pci/host/pci-dra7xx.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/pci/host/pci-dra7xx.c b/drivers/pci/host/pci-dra7xx.c
index 765f48b..3248b32 100644
--- a/drivers/pci/host/pci-dra7xx.c
+++ b/drivers/pci/host/pci-dra7xx.c
@@ -73,14 +73,14 @@ struct dra7xx_pcie {
 
 #define to_dra7xx_pcie(x)	container_of((x), struct dra7xx_pcie, pp)
 
-static u32 dra7xx_readl(struct dra7xx_pcie *pcie, u32 offset)
+static u32 dra7xx_readl(struct dra7xx_pcie *dra7xx, u32 offset)
 {
-	return readl(pcie->base + offset);
+	return readl(dra7xx->base + offset);
 }
 
-static void dra7xx_writel(struct dra7xx_pcie *pcie, u32 offset, u32 value)
+static void dra7xx_writel(struct dra7xx_pcie *dra7xx, u32 offset, u32 value)
 {
-	writel(value, pcie->base + offset);
+	writel(value, dra7xx->base + offset);
 }
 
 static inline u32 dra7xx_pcie_readl_rc(struct pcie_port *pp, u32 offset)

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux