]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: mux: only print failure message on error
authorPeter Rosin <peda@axentia.se>
Mon, 15 May 2017 07:03:50 +0000 (09:03 +0200)
committerPeter Rosin <peda@axentia.se>
Mon, 15 May 2017 16:49:11 +0000 (18:49 +0200)
commit0c73344bb740c7b8fbe493a77ca80a3c1693ac13
treedc3cd5c9f44d5901a4bf04c11f1b2fbfa6c35be6
parent934b19d635d27eaf8f9a145ecf7557b41275bd00
i2c: mux: only print failure message on error

As is, a failure message is printed unconditionally, which is confusing.
And noisy.

Fixes: 38eb5638fc32 ("i2c: mux: provide more info on failure in i2c_mux_add_adapter")
Signed-off-by: Peter Rosin <peda@axentia.se>
drivers/i2c/i2c-mux.c