Code cleanup in NewGPIODriver func.

Don't assign the object to a variable just return it right away.