i2c: mux: reg: don't log an error for probe deferral
authorTomasz Bachorski <tomasz.bachorski@nokia.com>
Mon, 18 Dec 2017 16:18:39 +0000 (17:18 +0100)
committerPeter Rosin <peda@axentia.se>
Sat, 30 Dec 2017 22:12:34 +0000 (23:12 +0100)
commitac5b85de17cb96445c51bd1a1c53c3f675582f26
treeb367a4b6b6c4a1741596eaafca733c3d1e88bfc6
parent8f6d6016898615012ec92957fba65a23b7ae16c9
i2c: mux: reg: don't log an error for probe deferral

It's possible that i2c_mux_reg_probe_dt() could return -EPROBE_DEFER.
In that case, driver will request a probe deferral and an error
suggesting device tree parsing problem will be reported. This is
a pretty confusing information. Let's change the error handling,
so driver will be able to request probe deferral without logging
not related errors.

Signed-off-by: Tomasz Bachorski <tomasz.bachorski@nokia.com>
Signed-off-by: Peter Rosin <peda@axentia.se>
drivers/i2c/muxes/i2c-mux-reg.c