i2c: qcom-cci: simplify probe by removing one loop over busses
It's possible to slightly simplify cci_probe() function by merging
a loop over I2C busses found on CCI controller with a loop which
actually registers I2C adapters, the data per I2C bus collected early
on probe is not used before calling i2c_add_adapter() since cci_reset()
and cci_init() calls were moved to the end of probe.
The change is intended to be non-functional.
Signed-off-by:
Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Loading
Please sign in to comment