nuttx: fix multiple 'FAR', 'CODE' and style issues

Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
Petro Karashchenko 2024-08-24 19:21:12 -04:00 committed by Xiang Xiao
parent 5d17e4795a
commit d499ac9d58
275 changed files with 2130 additions and 1986 deletions

View file

@ -256,7 +256,7 @@ static int lirc_ioctl(FAR struct file *filep, int cmd, unsigned long arg)
FAR struct lirc_fh_s *fh = filep->f_priv;
FAR struct lirc_lowerhalf_s *lower = fh->lower;
FAR struct lirc_upperhalf_s *upper = lower->priv;
FAR unsigned int *val = (unsigned int *)(uintptr_t)arg;
FAR unsigned int *val = (FAR unsigned int *)(uintptr_t)arg;
int ret;
ret = nxmutex_lock(&upper->lock);