aw9523_get_pin_direction
dir = aw9523_get_pin_direction(regmap, pin, regbit);
ret = aw9523_get_pin_direction(awi->regmap, offset, regbit);