i2c: fix brackets around if statement

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
i2c: use I2C_FUNCS to store funcs map

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>