mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	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: Gustavo Pimentel <gustavo.pimentel@synopsys.com> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Cc: Joao Pinto <jpinto@synopsys.com> Cc: Jingoo Han <jingoohan1@gmail.com>
This commit is contained in:
		
							parent
							
								
									40e9892ef9
								
							
						
					
					
						commit
						59ea68b3f1
					
				
					 1 changed files with 5 additions and 5 deletions
				
			
		| 
						 | 
					@ -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)
 | 
				
			||||||
	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,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue