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

Commit c99a23e5 authored by Peter Rosin's avatar Peter Rosin
Browse files

i2c: mux: pinctrl: 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 0756ac32
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -245,11 +245,9 @@ static int i2c_mux_pinctrl_probe(struct platform_device *pdev)
				(mux->pdata->base_bus_num + i) : 0;

		ret = i2c_mux_add_adapter(muxc, bus, i, 0);
		if (ret) {
			dev_err(&pdev->dev, "Failed to add adapter %d\n", i);
		if (ret)
			goto err_del_adapter;
	}
	}

	return 0;