> Adding: > > device->output_pin = -EINVAL; gpio numbers are unsigned in the rest of the API It's unfortunate that 0 was used for a GPIO - I take it this is too late to get fixed as we had to fix IRQ numbering and the like ?