]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: mux: provide more info on failure in i2c_mux_add_adapter
authorPeter Rosin <peda@axentia.se>
Mon, 3 Apr 2017 07:28:43 +0000 (09:28 +0200)
committerPeter Rosin <peda@axentia.se>
Mon, 3 Apr 2017 12:07:31 +0000 (14:07 +0200)
commit38eb5638fc32e0201b1bbdd5e2db93d986955b2f
tree693efa15f15634021ed62ed1b6423ceaeb9c5f65
parentf612c44aaa2bb690ba374b1e93c02dce9b16107d
i2c: mux: provide more info on failure in i2c_mux_add_adapter

No callers then need to report any further info, thus reducing both the
amount of code and the log noise.

Reviewed-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Peter Rosin <peda@axentia.se>
drivers/i2c/i2c-mux.c