[sw][driver][i2c] make i2c-ocores work with kernels 4.7 and newer
Conflict: This file was modified in both the source and target branches.
Ask someone with write access to resolve it.
@@ -41,8 +41,12 @@ struct ocores_i2c {
@@ -582,10 +586,17 @@ MODULE_DEVICE_TABLE(id_table, ocores_id_table);
@@ -605,16 +616,25 @@ static int ocores_i2c_mux_select(struct i2c_adapter *adap,
@@ -627,12 +647,40 @@ static int ocores_i2c_mux_deselect(struct i2c_adapter *adap,
@@ -652,7 +700,9 @@ static int ocores_i2c_probe_ohwr(struct ocores_i2c *i2c)
@@ -660,10 +710,14 @@ err_add: