[PATCH 1/2] dm: i2c-gpio: rework gpio get/set functions