Move the set gpio output function to a generic mcp2210 version from nanofury which also sets the pin to gpio.