]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit9fce894d03a98ec8e8e8106a964644633d2772ee
treedc3cd5c9f44d5901a4bf04c11f1b2fbfa6c35be6
parenta36d4637e4a06be067b8e327a0b1118bb2a73cb8
i2c: mux: only print failure message on error

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

Fixes: 8d4d159f25a7 ("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