drivers/input/djoystick.c: Appease nxstyle

This commit is contained in:
YAMAMOTO Takashi 2020-12-01 14:24:05 +09:00 committed by Xiang Xiao
parent 0007655658
commit 874101aede

View File

@ -587,7 +587,8 @@ static int djoy_ioctl(FAR struct file *filep, int cmd, unsigned long arg)
switch (cmd) switch (cmd)
{ {
/* Command: DJOYIOC_SUPPORTED /* Command: DJOYIOC_SUPPORTED
* Description: Report the set of button events supported by the hardware; * Description: Report the set of button events supported by the
* hardware;
* Argument: A pointer to writeable integer value in which to return * Argument: A pointer to writeable integer value in which to return
* the set of supported buttons. * the set of supported buttons.
* Return: Zero (OK) on success. Minus one will be returned on * Return: Zero (OK) on success. Minus one will be returned on
@ -793,7 +794,6 @@ errout_with_dusem:
int djoy_register(FAR const char *devname, int djoy_register(FAR const char *devname,
FAR const struct djoy_lowerhalf_s *lower) FAR const struct djoy_lowerhalf_s *lower)
{ {
FAR struct djoy_upperhalf_s *priv; FAR struct djoy_upperhalf_s *priv;
int ret; int ret;