From 58c2cd2843f02612a9e186574603328b9dd74ea9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Recht=C3=A9?= Date: Tue, 8 Nov 2016 07:46:25 -0600 Subject: [PATCH] drivers/ioexpander: Add some debug output. --- drivers/ioexpander/gpio.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/ioexpander/gpio.c b/drivers/ioexpander/gpio.c index bf256e8a0a..072687f1f8 100644 --- a/drivers/ioexpander/gpio.c +++ b/drivers/ioexpander/gpio.c @@ -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); }