diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2023-05-01 18:14:41 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2023-10-05 21:47:12 +0200 |
commit | efad777c3e97472fbd6aa4e5db11dcb3ef3eae90 (patch) | |
tree | c8f69c249fa5294e6333ab4ed360e8cf305c1000 | |
parent | e0c9db91d60ba44705a7f333cbed2be8b32b293c (diff) |
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.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
-rw-r--r-- | drivers/net/can/at91_can.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/can/at91_can.c b/drivers/net/can/at91_can.c index 6b017fd695c0..4249a1c95769 100644 --- a/drivers/net/can/at91_can.c +++ b/drivers/net/can/at91_can.c @@ -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) |