Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0756ac32 authored by Peter Rosin's avatar Peter Rosin
Browse files

i2c: mux: pca954x: stop double error reporting



i2c_mux_add_adapter already logs a message on failure.

Reviewed-by: default avatarWolfram Sang <wsa@the-dreams.de>
Signed-off-by: default avatarPeter Rosin <peda@axentia.se>
parent 664d9bba
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -434,14 +434,9 @@ 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,
		 "registered %d multiplexed busses for I2C %s %s\n",