projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
664d9bb
)
i2c: mux: pca954x: stop double error reporting
author
Peter Rosin
<peda@axentia.se>
Mon, 3 Apr 2017 08:14:22 +0000
(10:14 +0200)
committer
Peter Rosin
<peda@axentia.se>
Mon, 3 Apr 2017 12:07:33 +0000
(14:07 +0200)
i2c_mux_add_adapter already logs a message on failure.
Reviewed-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Peter Rosin <peda@axentia.se>
drivers/i2c/muxes/i2c-mux-pca954x.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/i2c/muxes/i2c-mux-pca954x.c
b/drivers/i2c/muxes/i2c-mux-pca954x.c
index 15dfc1648716569c87f3b2bc3d6c629296e19ef5..b2a85a2d00f7829d0ed954c22d1dc82393e61634 100644
(file)
--- a/
drivers/i2c/muxes/i2c-mux-pca954x.c
+++ b/
drivers/i2c/muxes/i2c-mux-pca954x.c
@@
-434,13
+434,8
@@
static int pca954x_probe(struct i2c_client *client,
idle_disconnect_dt) << num;
ret = i2c_mux_add_adapter(muxc, force, num, class);
-
- if (ret) {
- dev_err(&client->dev,
- "failed to register multiplexed adapter"
- " %d as bus %d\n", num, force);
+ if (ret)
goto fail_del_adapters;
- }
}
dev_info(&client->dev,