acassis commented on code in PR #8456: URL: https://github.com/apache/nuttx/pull/8456#discussion_r1098823406
########## 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 + * + * Description: + * Register GPIO pin device driver by it's name. + * Review Comment: Please include Input Parameters and returned value ########## include/nuttx/ioexpander/gpio.h: ########## @@ -188,6 +188,17 @@ extern "C" int gpio_pin_register(FAR struct gpio_dev_s *dev, int minor); +/**************************************************************************** + * Name: gpio_pin_register_byname + * + * Description: + * Register GPIO pin device driver with it's pin name. + * Review Comment: Ditto -- 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]
