On Tue, Feb 3, 2015 at 6:52 PM, Felipe Balbi <balbi@xxxxxx> wrote: > it doesn't make a difference though, right ? > gpiod_direction_output(NULL, 1) won't do anything. Yes, I will send a v3 without the NULL check. gpiod_set_value returns immediately if desc is NULL: void gpiod_set_value(struct gpio_desc *desc, int value) { if (!desc) return; -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html