This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 5d17e4795a6561f86340cf1d16fb8aefbd59f9b0
Author: Petro Karashchenko <[email protected]>
AuthorDate: Sat Aug 24 13:26:34 2024 -0400

    drivers/ioexpander: remove 'FAR' from non-pointer types
    
    Signed-off-by: Petro Karashchenko <[email protected]>
---
 drivers/ioexpander/gpio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ioexpander/gpio.c b/drivers/ioexpander/gpio.c
index 56ba35130e..c653ccbf4d 100644
--- a/drivers/ioexpander/gpio.c
+++ b/drivers/ioexpander/gpio.c
@@ -330,7 +330,7 @@ static int gpio_ioctl(FAR struct file *filep, int cmd, 
unsigned long arg)
             (FAR enum gpio_pintype_e *)((uintptr_t)arg);
           DEBUGASSERT(ptr != NULL);
 
-          *ptr = (FAR enum gpio_pintype_e)dev->gp_pintype;
+          *ptr = (enum gpio_pintype_e)dev->gp_pintype;
           ret = OK;
         }
         break;

Reply via email to