Commit 59ea68b3 authored by Gustavo Pimentel's avatar Gustavo Pimentel Committed by Lorenzo Pieralisi

PCI: dwc: Rename variable name from data to d on dw_pci_setup_msi_msg()

Rename variable from data to d to maintain consistency between driver
functions, such as dw_pci_setup_msi_msg().

No functional change is intended.
Signed-off-by: default avatarGustavo Pimentel <gustavo.pimentel@synopsys.com>
Signed-off-by: default avatarLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Joao Pinto <jpinto@synopsys.com>
Cc: Jingoo Han <jingoohan1@gmail.com>
parent 40e9892e
...@@ -120,9 +120,9 @@ static void dw_chained_msi_isr(struct irq_desc *desc) ...@@ -120,9 +120,9 @@ static void dw_chained_msi_isr(struct irq_desc *desc)
chained_irq_exit(chip, desc); chained_irq_exit(chip, desc);
} }
static void dw_pci_setup_msi_msg(struct irq_data *data, struct msi_msg *msg) static void dw_pci_setup_msi_msg(struct irq_data *d, struct msi_msg *msg)
{ {
struct pcie_port *pp = irq_data_get_irq_chip_data(data); struct pcie_port *pp = irq_data_get_irq_chip_data(d);
struct dw_pcie *pci = to_dw_pcie_from_pp(pp); struct dw_pcie *pci = to_dw_pcie_from_pp(pp);
u64 msi_target; u64 msi_target;
...@@ -135,12 +135,12 @@ static void dw_pci_setup_msi_msg(struct irq_data *data, struct msi_msg *msg) ...@@ -135,12 +135,12 @@ static void dw_pci_setup_msi_msg(struct irq_data *data, struct msi_msg *msg)
msg->address_hi = upper_32_bits(msi_target); msg->address_hi = upper_32_bits(msi_target);
if (pp->ops->get_msi_data) if (pp->ops->get_msi_data)
msg->data = pp->ops->get_msi_data(pp, data->hwirq); msg->data = pp->ops->get_msi_data(pp, d->hwirq);
else else
msg->data = data->hwirq; msg->data = d->hwirq;
dev_dbg(pci->dev, "msi#%d address_hi %#x address_lo %#x\n", dev_dbg(pci->dev, "msi#%d address_hi %#x address_lo %#x\n",
(int)data->hwirq, msg->address_hi, msg->address_lo); (int)d->hwirq, msg->address_hi, msg->address_lo);
} }
static int dw_pci_msi_set_affinity(struct irq_data *irq_data, static int dw_pci_msi_set_affinity(struct irq_data *irq_data,
......
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