[U-Boot] [PATCH v2 01/17] dm: i2c: Move error reporting into a common function