Commit efad777c authored by Marc Kleine-Budde's avatar Marc Kleine-Budde

can: at91_can: at91_irq_err(): rename to at91_irq_err_line()

This is a cleanup patch, no functional change intended.

The function at91_irq_err() only handles the CAN line errors, so
rename it accordingly to at91_irq_err_line().

Link: https://lore.kernel.org/all/20231005-at91_can-rx_offload-v2-21-9987d53600e0@pengutronix.deSigned-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent e0c9db91
......@@ -954,7 +954,7 @@ static int at91_get_state_by_bec(const struct net_device *dev,
return 0;
}
static void at91_irq_err(struct net_device *dev)
static void at91_irq_err_line(struct net_device *dev)
{
struct at91_priv *priv = netdev_priv(dev);
struct sk_buff *skb;
......@@ -1091,7 +1091,7 @@ static irqreturn_t at91_irq(int irq, void *dev_id)
if (reg_sr & get_irq_mb_tx(priv))
at91_irq_tx(dev, reg_sr);
at91_irq_err(dev);
at91_irq_err_line(dev);
/* Frame Error Interrupt */
if (reg_sr & AT91_IRQ_ERR_FRAME)
......
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