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)
commit8d4d159f25a79bdaf1f8ae5536471ba9b26b26c2
tree693efa15f15634021ed62ed1b6423ceaeb9c5f65
parent743cc37561188e222eff5200d4507eabcccf9d41
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