[PATCH 12/48] i2c: altera: use proper variable to hold errno