xiaoxiang781216 commented on code in PR #8456:
URL: https://github.com/apache/nuttx/pull/8456#discussion_r1098956392


##########
drivers/ioexpander/gpio.c:
##########
@@ -596,6 +596,64 @@ int gpio_pin_register(FAR struct gpio_dev_s *dev, int 
minor)
   return register_driver(devname, &g_gpio_drvrops, 0666, dev);
 }
 
+/****************************************************************************
+ * Name: gpio_pin_register_byname

Review Comment:
   please modify gpio_pin_register to call gpio_pin_register_byname internally 
to avoid the code duplication.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to