drivers/can: fix codespell errors

drivers/can: fix codespell errors

Signed-off-by: raiden00pl <raiden00@railab.me>
This commit is contained in:
raiden00pl
2025-05-14 13:07:05 +02:00
committed by Alan C. Assis
parent 5d95d0871f
commit dc73324ed0
3 changed files with 10 additions and 10 deletions
+4 -4
View File
@@ -317,7 +317,7 @@ static int can_close(FAR struct file *filep)
nxsem_post(&fifo->rx_sem);
/* Notify specfic poll/select waiter that they can read from the
/* Notify specific poll/select waiter that they can read from the
* cd_recv buffer
*/
@@ -904,7 +904,7 @@ static int can_ioctl(FAR struct file *filep, int cmd, unsigned long arg)
case CANIOC_SET_TRANSVSTATE:
{
/* if we don't use dev->cd_transv->cts_ops, please initlize
* this poniter to NULL in lower board code when Board reset.
* this pointer to NULL in lower board code when Board reset.
*/
if (dev->cd_transv && dev->cd_transv->ct_ops
@@ -927,7 +927,7 @@ static int can_ioctl(FAR struct file *filep, int cmd, unsigned long arg)
case CANIOC_GET_TRANSVSTATE:
{
/* if we don't use dev->cd_transv->cts_ops, please initlize
* this poniter to NULL in lower board code when Board reset.
* this pointer to NULL in lower board code when Board reset.
*/
if (dev->cd_transv && dev->cd_transv->ct_ops
@@ -1275,7 +1275,7 @@ int can_receive(FAR struct can_dev_s *dev, FAR struct can_hdr_s *hdr,
nxsem_post(&fifo->rx_sem);
}
/* Notify specfic poll/select waiter that they can read from the
/* Notify specific poll/select waiter that they can read from the
* cd_recv buffer
*/
+3 -3
View File
@@ -1703,7 +1703,7 @@ static int ctucanfd_interrupt(int irq, FAR void *context, FAR void *arg)
if (regval != 0)
{
/* Disable RX interrupts until we handle all interrups */
/* Disable RX interrupts until we handle all interrupts */
ctucanfd_rxint(&priv->devs[i], false);
@@ -1757,10 +1757,10 @@ static void ctucanfd_init(FAR struct ctucanfd_driver_s *priv)
}
/*****************************************************************************
* Name: ctucanfd_ctucanfd_proble
* Name: ctucanfd_ctucanfd_probe
*
* Description:
* Proble CTUCANFD devices on board and return the number of vailalbe chips.
* Probe CTUCANFD devices on board and return the number of vailalbe chips.
*
*****************************************************************************/
+3 -3
View File
@@ -371,7 +371,7 @@ static void kvaser_setup(FAR struct kvaser_sja_s *priv)
{
/* REVISIT: missing bus timings configuration and output control.
*
* This driver was verified on QEMU with virtual host CAN netwrok,
* This driver was verified on QEMU with virtual host CAN network,
* which doesn't need bus timings and output control registers set.
* For real hardware, these registers must be properly configured !
*/
@@ -822,7 +822,7 @@ static void kvaser_chardev_receive(FAR struct kvaser_sja_s *priv)
canerr("ERROR: Received message with extended"
" identifier. Dropped\n");
/* Relese RX buffer */
/* Release RX buffer */
kvaser_putreg_sja(priv, SJA1000_CMD_REG, SJA1000_RELEASE_BUF);
@@ -1593,7 +1593,7 @@ static void kvaser_init(FAR struct kvaser_driver_s *priv)
* Name: kvaser_count_sja
*
* Description:
* Proble SJA1000 devices on board and return the number of vailalbe chips.
* Probe SJA1000 devices on board and return the number of vailalbe chips.
*
*****************************************************************************/