Correct the code alignment

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2022-02-02 00:55:50 +08:00
committed by Alan Carvalho de Assis
parent f987668068
commit 4c167b0729
54 changed files with 112 additions and 110 deletions

View File

@@ -101,7 +101,7 @@ const struct file_operations g_nxterm_drvrops =
static int nxterm_open(FAR struct file *filep)
{
FAR struct inode *inode = filep->f_inode;
FAR struct nxterm_state_s *priv = inode->i_private;
FAR struct nxterm_state_s *priv = inode->i_private;
DEBUGASSERT(filep && filep->f_inode);

View File

@@ -327,8 +327,8 @@ int nxterm_poll(FAR struct file *filep, FAR struct pollfd *fds, bool setup)
/* Remove all memory of the poll setup */
*slot = NULL;
fds->priv = NULL;
*slot = NULL;
fds->priv = NULL;
}
errout: