drivers/ioexpander: Add some debug output.

This commit is contained in:
Marc Rechté 2016-11-08 07:46:25 -06:00 committed by Gregory Nutt
parent 9045959aa6
commit 58c2cd2843

View File

@ -372,6 +372,8 @@ int gpio_pin_register(FAR struct gpio_dev_s *dev, int minor)
}
snprintf(devname, 16, fmt, (unsigned int)minor);
gpioinfo("Registering %s\n", devname);
return register_driver(devname, &g_gpio_drvrops, 0666, dev);
}